MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1
t = datetime('today') + caldays(1:100);
y = linspace(10,40,100) + 10*rand(1,100);
scatter(t,y)

Plots that Support Dates and Durations


You can create other types of plots with datetime or duration values. These graphics
functions support datetime and duration values.

bar barh
plot plot3

7 Dates and Time

Free download pdf