Info
この質問は閉じられています。 編集または回答するには再度開いてください。
Problem in converting dates while plotting
1 回表示 (過去 30 日間)
古いコメントを表示
I want to 3plot a xls file with scatter command. the format dates I have is like 2016.03.01 14:39:00. I used this code :
date=txt(:,1); %dates are in the first column
x=date(2:end); %plot dates beginning from the second cell
time=datenum(x);
Figure
scatter(time,num(:,1),12,num(:,10)),colorbar;
datetick('x','yy/mm/dd HH:MM:SS','keeplimits','keepticks')
The conversion gave me the same result for all the dates : 737061,697916667
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/195579/image.png)
Could someone help me ?
1 件のコメント
回答 (0 件)
この質問は閉じられています。
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!