« Return to Thread: Advice on boxes plot and setting xrange with a time axis

Re: Advice on boxes plot and setting xrange with a time axis

by Daniel Farrell :: Rate this Message:

Reply to Author | View in Thread

Hello Thomas,

I have made the changes you suggested but it now clips on both sides!  
It this a bug?

Have a look here,

http://www.boyfarrell.com/forums/gnuplot/bars2.txt
http://www.boyfarrell.com/forums/gnuplot/plot-bars2.txt
http://www.boyfarrell.com/forums/gnuplot/plot-bars2.pdf

Regards,

Dan.

On 14 May 2008, at 19:17, Thomas Sefzick wrote:

>
> set timefmt "%m.%Y"
> set xrange ["12.1999":"01.2001"]
> set timefmt "%m"
> plot 'bars.txt' using 1:2 title 'A'
>
> explanation:
> you can't set the xrange to 'december one year before' with
> timefmt "%m" because there is no way to give the year, and
> month numbers <= 0 are not allowed.
>
> note:
> gnuplot starts counting time from the 'beginning of epoch',
> so if you have only month numbers in your datafile, it automatically
> chooses year 2000.
>
> --
> View this message in context: http://www.nabble.com/Advice-on-boxes-plot-and-setting-xrange-with-a-time-axis-tp17228309p17237732.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
> gnuplot-beta@...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-beta


-------------------------------------------------------------------------
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
gnuplot-beta@...
https://lists.sourceforge.net/lists/listinfo/gnuplot-beta

 « Return to Thread: Advice on boxes plot and setting xrange with a time axis