Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #1111
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
|---|---|
| From | bryan <bryanlepore@gmail.com> |
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | time format and xrange or missing data "." |
| Date | Tue, 15 May 2012 10:15:42 -0700 (PDT) |
| Organization | http://groups.google.com |
| Lines | 46 |
| Message-ID | <11080488.2800.1337102142460.JavaMail.geo-discussion-forums@ynmb39> (permalink) |
| NNTP-Posting-Host | 24.62.36.14 |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| X-Trace | posting.google.com 1337102143 8490 127.0.0.1 (15 May 2012 17:15:43 GMT) |
| X-Complaints-To | groups-abuse@google.com |
| NNTP-Posting-Date | Tue, 15 May 2012 17:15:43 +0000 (UTC) |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=24.62.36.14; posting-account=PtxH9gkAAAAGMw6wJDvB_vinyKd1zCKS |
| User-Agent | G2/1.0 |
| X-Received-Bytes | 2185 |
| Xref | csiph.com comp.graphics.apps.gnuplot:1111 |
Show key headers only | View raw
[ gnuplot 4.6 patchlevel 0 ]
trying to understand use of 'set xdata time' vis-a-vis the following points:
I would like to set xrange longer than the available data. I used a "." to mark missing data points. I can plot the first field (see below) using a conventional x/y data setup and various xranges (not shown). however when using 'set xdata time' it appears that this will not work. Note that I have the date in field 2, but this shouldn't matter I think. here are the commands:
gnuplot> set xdata time ; set timefmt '%m-%Y' ; set format x '%b'
gnuplot> plot 'data.dat' u 2:1 w lp
( ... looks OK ...)
gnuplot> set xrange [0:14]
gnuplot> replot
gnuplot> plot 'data.dat' u 2:1 w lp
all points y value undefined!
gnuplot> show xrange
set xdata time
set xrange [ * : * ] noreverse nowriteback # (currently ["10-2011":"05-2012"] )
data.dat:
8.38 11-2011
1.58 12-2011
3.13 01-2012
9.74 02-2012
2.78 03-2012
6.51 04-2012
4.43 05-2012
. 06-2012
. 07-2012
. 08-2012
. 09-2012
. 10-2012
. 11-2012
. 12-2012
-Bryan
Back to comp.graphics.apps.gnuplot | Previous | Next — Next in thread | Find similar
time format and xrange or missing data "." bryan <bryanlepore@gmail.com> - 2012-05-15 10:15 -0700
Re: time format and xrange or missing data "." Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2012-05-15 19:52 +0200
Re: time format and xrange or missing data "." bryan <bryanlepore@gmail.com> - 2012-05-15 11:14 -0700
csiph-web