plot3 with datetime
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Nikhil Vyas
2016-4-28
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:
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Dates and Time 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!