|
From: Daniel F. <boy...@gm...> - 2008-05-15 15:57:19
|
Hello, Right, thanks for that the range is correct. It is possible to set the time labels to be abbreviated month names? Changing the second set timefmt "%m" doesn't make any difference? Do I need to play with set xtics to do this? Dan On 15 May 2008, at 11:25, Thomas Sefzick wrote: > > you forgot to 'set xdata time' > > your plotfile should read: > > ... > set xdata time > set timefmt "%m.%Y" > set xrange ["12.1999":"01.2001"] > plot 'bars2.txt' using 1:2 title 'A' > > or > > ... > set xdata time > set timefmt "%m.%Y" > set xrange ["12.1999":"01.2001"] > set timefmt "%m" > plot 'bars.txt' using 1:2 title 'A' > > you may adjust the xrange more precisely: > > ... > set timefmt "%d.%m.%Y" > set xrange ["15.12.1999":"18.12.2000"] > set timefmt "%m.%Y" > plot 'bars2.txt' using 1:2 title 'A' > > -- > View this message in context: http://www.nabble.com/Advice-on-boxes-plot-and-setting-xrange-with-a-time-axis-tp17228309p17250154.html > Sent from the Gnuplot - Dev mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta |