Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2420 > unrolled thread
| Started by | Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> |
|---|---|
| First post | 2014-04-23 13:57 +0200 |
| Last post | 2014-04-24 10:22 +0200 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
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
| From | Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> |
|---|---|
| Date | 2014-04-23 13:57 +0200 |
| Subject | using xrange in a time format context |
| Message-ID | <alpine.WNT.2.10.1404231352050.3548@BecaneCoulon> |
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
[toc] | [next] | [standalone]
| From | Hans-Bernhard Bröker <HBBroeker@t-online.de> |
|---|---|
| Date | 2014-04-23 20:23 +0200 |
| Message-ID | <brqep9F995vU1@mid.dfncis.de> |
| In reply to | #2420 |
On 23.04.2014 13:57, Jean-Pierre Coulon wrote: > Should xrange speak the language of the x column of the input file or > that of the time-converted x values? The x range is that of the actual values as used. It doesn't matter what's in the file --- there might not even be a file.
[toc] | [prev] | [next] | [standalone]
| From | Karl <mail.kfr@gmx.net> |
|---|---|
| Date | 2014-04-24 10:22 +0200 |
| Message-ID | <ljahlf$g19$1@news.rz.uni-karlsruhe.de> |
| In reply to | #2420 |
Am 23.04.2014 13:57, schrieb Jean-Pierre Coulon: > 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? > Neither, the xrange is applied to what comes out of the "using" statement. The timeformat is just for the axis labels. K
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web