set xrange ["8501":"0612"]
see 'help set xrange':
... If the data are time/date, you must give the range as
a quoted string according to the `set timefmt` format. ...
pacomet wrote:
>
> Hi Gnuplot users
>
> This is my first approach to gnuplot and I'm having a problem with
> time formats. I'm trying to plot a temperature time series like YYMM
> TEMP
>
> 8501 13.0900002
> 8502 12.71
> 8503 12.71
> 8504 13.6199999
> 8505 16.6499996
> 8506 18.6499996
> 8507 23.0400009
> 8508 22.9799995
> 8509 22.5100002
> 8510 22.2099991
> 8511 15.79
> 8512 14.7399998
> 8601 13.4099998
> 8602 12.3599997
> 8603 12.8199997
> 8604 13.0500002
>
> with this settings in my script
>
> set autoscale xfix
> set xlabel "Year"
> set xdata time
> set format x "%Y"
> set timefmt "%y%m"
> set xrange ["01/1985":"12/2006"]
>
> I always get an error message saying:
>
> line 0 : Illegal month
>
> I've searched through the web and found this error comes mostly from
> data but I think my data file is right.
>
> Any help would be greatly appreciated, thanks in advance
>
--
View this message in context: http://www.nabble.com/Time-format-Illegal-month-tp22222160p22228215.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|