plot - MATLAB: plotting data from struct -
i have structure of data contains data values, time, unit, , descriptions of each data. want plot data values vs time. here how data looks like:
any ideas how can plot data , time?
quick example:
%# date strings , values dates = {'02.11.2012 00:02:15'; '02.11.2012 00:07:12'}; values = [5.8; 5.7]; %# convert serial date numbers t = datenum(dates, 'mm.dd.yyyy hh:mm:ss'); %# plot , format x-ticks datetime plot(t,values) datetick('x')
Comments
Post a Comment