|
From: | Fritz Sonnichsen |
Subject: | Re: Problem plotting time on X axis |
Date: | Wed, 14 Feb 2018 16:37:57 -0500 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 |
Thanks Ian. The seem to be in proper sequence. I am not asking you to do my work but to see this it may be easiest to just run this code below: 1; clear all fflush(stdin); filenameT='C:\Users\fsonnichsen\Dropbox\CHANOS\LEDs\data\2018_02_14a\T.txt'; [dtmeT, T] = textread (filenameT, "%s %f"); %%%%%%%%%% TEMPERATURE PLOT %%%%%%%%%%%%%%% timeFormat='HH:MM:SS'; ser_date=datenum(dtmeT,timeFormat); %serial date is secs since 1/1/0000 plot(ser_date,T ,'color','k' ); % plot(ser_date-datenum("00:00:00"),T ,'color','k' ) datetick('x',timeFormat,'keepticks') xlen = length(dtmeT); axis([0 xlen 20 75]) return ==============DATA =""> 14:30:06 22.8 14:30:07 22.8 14:30:08 22.8 14:30:09 22.8 14:30:10 22.8 14:30:11 22.7 =============================================== On 2/14/2018 4:03 PM, Ian McCallion
wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |