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 plot37 Dates and Time