Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #2420

using xrange in a time format context

From Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr>
Newsgroups comp.graphics.apps.gnuplot
Subject using xrange in a time format context
Date 2014-04-23 13:57 +0200
Organization Service de news de lacave.net
Message-ID <alpine.WNT.2.10.1404231352050.3548@BecaneCoulon> (permalink)

Show all headers | View raw


My input data file looks like:

1081231399.000000  1.56 
1081232399.000000  1.57
....... 600 lines ....
1081830399.000000  1.55

I succedeed in plotting it with time formats saying:
set xdata time
set timefmt "%S"
set format x "%d-%m\n%H:%M"
plot "mystuff.txt" using ($1-1072483215.):2 with lines

Now the problem is choosing an xrange: saying "set xrange 
[1081231399:1081241399]" or set xrange ["13-04 00:00" : "14-04 00:00"] 
causes "all points y value are undefined!"

Should xrange speak the language of the x column of the input file or that 
of the time-converted x values?

Jean-Pierre Coulon

Back to comp.graphics.apps.gnuplot | Previous | NextNext in thread | Find similar | Unroll thread


Thread

using xrange in a time format context Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2014-04-23 13:57 +0200
  Re: using xrange in a time format context Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2014-04-23 20:23 +0200
  Re: using xrange in a time format context Karl <mail.kfr@gmx.net> - 2014-04-24 10:22 +0200

csiph-web