[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Simple Time Formatted Plot Problem
From: |
Fritz Sonnichsen |
Subject: |
Re: Simple Time Formatted Plot Problem |
Date: |
Fri, 2 Mar 2018 12:54:15 -0500 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
adding: graphics_toolkit ("gnuplot");
and removing the axis statements produced a plot with no line. (code
below) The range on the plot was from -21475.2 thru -21474.4
So do all my time-formatting statements need to be re-written for some
type of gnuplot routines?
thanks
Fritz
============================================================
1;
clear all
fflush(stdin);
graphics_toolkit ("gnuplot");
xtme=["12:20:39";"12:20:41";"12:20:42";"12:20:43";"12:20:44"];
xT=[ 1 ;2 ;3 ;4 ;5];
timeFormat='HH:MM:SS';
xdatenum=datenum(xtme,timeFormat); %days from January 0, 0000
plot(xdatenum,xT,'color','r');
datetick('x',timeFormat,'keepticks')
=======================================================
On 3/2/2018 12:14 PM, Marco Atzeri wrote:
On 02/03/2018 18:05, Fritz Sonnichsen wrote:
Thanks-
Replacing the last few lines with the ones below does not work either:
dmin= min(xdatenum)
dmax= max(xdatenum)
axis([dmin dmax 0 10])
Nor does removing the axis statement altogether
Fritz
without the axis, it works for me.
Use the "graphics_toolkit gnuplot" as fltk has problem on
numbers too near and large (due to resolution on float)
-----------------------------------------
Join us March 12-15 at CERN near Geneva
Switzerland for OctConf 2018. More info:
https://wiki.octave.org/OctConf_2018
-----------------------------------------
- Simple Time Formatted Plot Problem, Fritz Sonnichsen, 2018/03/02
- Re: Simple Time Formatted Plot Problem, Marco Atzeri, 2018/03/02
- Re: Simple Time Formatted Plot Problem, Fritz Sonnichsen, 2018/03/02
- Re: Simple Time Formatted Plot Problem, Marco Atzeri, 2018/03/02
- Re: Simple Time Formatted Plot Problem,
Fritz Sonnichsen <=
- Re: Simple Time Formatted Plot Problem, Mike Miller, 2018/03/02
- Re: Simple Time Formatted Plot Problem, Fritz Sonnichsen, 2018/03/02
- Re: Simple Time Formatted Plot Problem, Ian McCallion, 2018/03/02
- Re: Simple Time Formatted Plot Problem, Fritz Sonnichsen, 2018/03/06
Re: Simple Time Formatted Plot Problem, Andreas Weber, 2018/03/04