Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #1112
| From | Hans-Bernhard Bröker <HBBroeker@t-online.de> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: time format and xrange or missing data "." |
| Date | 2012-05-15 19:52 +0200 |
| Message-ID | <a1fjebFjl7U1@mid.dfncis.de> (permalink) |
| References | <11080488.2800.1337102142460.JavaMail.geo-discussion-forums@ynmb39> |
On 15.05.2012 19:15, bryan wrote: > I would like to set xrange longer than the available data. > 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] How do you expect that to work for a time? What time/date is '14' supposed to be? If you're going to use time/date axes, your range will have to be in time/date format, too. Gnuplot even, kinda-sorta, tells you so: > gnuplot> show xrange > > set xdata time > set xrange [ * : * ] noreverse nowriteback # (currently ["10-2011":"05-2012"] ) Note that "currently" setting. That's how you're supposed to spell a setting of the xrange in this case.
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | 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