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 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> 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 [ 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 co= nventional x/y data setup and various xranges (not shown). however when usi= ng 'set xdata time' it appears that this will not work. Note that I have th= e 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 ...) =20 gnuplot> set xrange [0:14]=20 gnuplot> replot =20 gnuplot> plot 'data.dat' u 2:1 w lp = =20 all points y value undefined! gnuplot> show xrange set xdata time set xrange [ * : * ] noreverse nowriteback # (currently ["10-2011":"05-20= 12"] ) data.dat: 8.38 11-2011=20 1.58 12-2011=20 3.13 01-2012=20 9.74 02-2012=20 2.78 03-2012=20 6.51 04-2012=20 4.43 05-2012=20 . 06-2012 . 07-2012 . 08-2012 . 09-2012 . 10-2012 . 11-2012 . 12-2012 -Bryan