|
From: Bret F. <bre...@or...> - 2004-08-24 21:17:48
|
Adding the \n helps a little, though there is still some overlap. I'll experiment with the set view and rotate commands and see if I can get better results. Thanks, Bret -----Original Message----- From: gnu...@li... [mailto:gnu...@li...]On Behalf Of Hans-Bernhard Broeker Sent: Tuesday, August 24, 2004 9:37 AM To: Bret Foreman Cc: gnu...@li... Subject: Re: [Gnuplot-info] moving tic labels Bret Foreman wrote: > Here's an example of the problem. The attached .dat file created the > attached .png file. Hmmm.. the .png didn't want to display, but I can see the problem in Windows, too, using a slightly modified script. The problem is two-fold. First, the ytic labels are rather long. > I guess what you mean is to add some spaces into the timefmt to push the > dates over to the right. No. I wanted to say you should put an actual line break into your format statment for the y tics. But that's not 'set timefmt', of course, but set format y "%m-%d\n%Y" and it doesn't completely fix the problem either --- well, not on Windows at least. If you rotate your plot around a little while, in a mouse-enabled GUI terminal driver like Windows or X11, you'll begin to see more clearly. The gnuplot axis labels are positioned differently depending on the angle of the border line on the paper, and thus on the 'set view' angles. In particular, the toggle between left, centered and right justification relative to the reference point, which in turn is given by extending of the tick mark itself to outside the graph box. This approach has problems mainly if the tick labels are rather long, while the view angles are such that the label is centered rather than left-justified. That's why choosing a shorter ytic label format should help. Choosing a different 'set view' angle should help, too. And I guess "set ytics rotate" will help quite a lot, if your driver supports it and your users can accept its results. ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Gnuplot-info mailing list Gnu...@li... https://lists.sourceforge.net/lists/listinfo/gnuplot-info |