"Benson" wrote in message <ks109j$gb0$1@newscl01ah.mathworks.com>...
> So normally, I would do something like this:
> yValue = [1 2 3 4 5];
> time = [8.5 10 10.20 13.4 15.2]; (8.5 = 8:30:00)
> plot(time, yValue);
>
> However, this restricts me to only one full day between 0:00:00 and 24:00:00. What if I wanted to include multiple days in one graph? So time = ['6/10/2013 8.5', '6/10/2013 10', '6/10/2013 15.2', '6/11/2013 4.5', '6/12/2013 15.6']
>
> Thanks!
% Perhaps these will be of some help
doc datenum
doc datevec
doc datestr
doc juliandate % require Aerosoace Toolbox
% Also, take a look at:
<<http://www.mathworks.com/help/matlab/matlab_prog/represent-date-and-times-in-MATLAB.html>>
> So normally, I would do something like this:
> yValue = [1 2 3 4 5];
> time = [8.5 10 10.20 13.4 15.2]; (8.5 = 8:30:00)
> plot(time, yValue);
>
> However, this restricts me to only one full day between 0:00:00 and 24:00:00. What if I wanted to include multiple days in one graph? So time = ['6/10/2013 8.5', '6/10/2013 10', '6/10/2013 15.2', '6/11/2013 4.5', '6/12/2013 15.6']
>
> Thanks!
% Perhaps these will be of some help
doc datenum
doc datevec
doc datestr
doc juliandate % require Aerosoace Toolbox
% Also, take a look at:
<<http://www.mathworks.com/help/matlab/matlab_prog/represent-date-and-times-in-MATLAB.html>>