plot3 with datetime
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Cameron Brown
am 25 Apr. 2016
Kommentiert: Cameron Brown
am 28 Apr. 2016
Is it possible to use datetime class variables with any plot functions other than plot? e.g. plot3 If I try the following command:
plot3(datetime,1,1)
I get the following error:
Error using plot3
A numeric or double convertible argument is expected
0 Kommentare
Akzeptierte Antwort
Nikhil Vyas
am 28 Apr. 2016
It's not possible to use datetime with plot3. However, you can use your axis values with datetick to display the axis ticks as dates. For more details on datetick, refer the following link:
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Dates and Time finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!