필터 지우기
필터 지우기

How to plot date labels on x axis?

조회 수: 1 (최근 30일)
mklcst mklcst
mklcst mklcst 2012년 8월 9일
Hi everybody, I have a 2 column matrix to plot, one with the dates in number and the other column with the values. My problem is the date labels to plot on the x axis. I tried with some loops but I have an inconsistency on the time range (same space interval different time period of months). I suppose there is an easy way to do it, so if I have a column-vector x with the dates in number and y with the values. What I have to do in order to plot it?
  댓글 수: 1
Jan
Jan 2012년 8월 19일
편집: Jan 2012년 8월 19일
If you want your code to be fixed, post it. It is not possible to create a suggestion based on "I have an inconsistency". If you post a small piece of example data, suggesting another solution would be easier and they would more likely match your problem.

댓글을 달려면 로그인하십시오.

답변 (1개)

Jan
Jan 2012년 8월 19일
Have you tried datetick already?

카테고리

Help CenterFile Exchange에서 Axis Labels에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by