|
From: Shigeharu T. <sh...@ie...> - 2008-09-13 09:30:05
|
shige 09/13 2008
----------------
I have one proposal for timelevel but don't have a patch now.
Gnuplot uses 'timelevel' for Time/date data. For example,
set xdata time
set timefmt "%Y %m %d"
set format x "%y/%m/%d"
set xtics "2008 01 01", 60*60*24*30 # 30 days interval
makes tics
2008/01/01, 2008/02/01, 2008/03/01, ...
which have "1 month" intervals, not "30 days". This seems to be
done by the timelevel value for the axis. Usually "1 month"
intervals may be more useful than "30 days" ones.
However, since the timelevel is always decided automatically
(in quantize_time_tics() or setup_tics() ?) from the interval
value, we can not make tics having "30 days" intervals easily
(we can do it only by the manual tics setting ("2008 01 01",
"2008 01 31", "2008 03 01", ...)).
If gnuplot allows us to control the timelevel value, for example
by an option of xtics, we may use more flexible tics for
Time/Date data.
+========================================================+
Shigeharu TAKENO NIigata Institute of Technology
kashiwazaki,Niigata 945-1195 JAPAN
sh...@ie... TEL(&FAX): +81-257-22-8161
+========================================================+
|