|
From: | Levente Torok |
Subject: | Re: plotyy gnuplot error? |
Date: | Fri, 12 Jun 2009 21:44:43 +0200 |
User-agent: | KMail/1.11.2 (Linux/2.6.27-14-generic; KDE/4.2.2; i686; ; ) |
On Thursday 11 June 2009, Ben Abbott wrote: > > On Jun 11, 2009, at 4:56 AM, Levente Torok wrote: > > > > > Hi All, > > > > I tried to scan for this bug on the mail list but I haven't found a > > definitive response to this. > > So here is my recognition. > > > > On octave-3.0.5 and gnuplot version 4.2.5 > > the following code > > > > ax = plotyy( ppv_cope.x, ppv_cope.y, ppv_cope.x, ppv_cope.n, @plot, > > @semilogy ); > > ylabel(ax(1),"left"); > > ylabel(ax(2),"right"); > > xlabel("bottom"); > > title( "title"); > > print("test.ps","-dps"); > > > > The result test.ps labels 'left' and 'right' are missing. > > Certainly this is a bounding box problem. > > Maybe a gnuplot problem. > > Is it possible to circumvent this? > > > > Levente > > > > ps: does anybody know how to persuade gnuplot > > Using the default figure paper* properties, this works with the > developers sources and should also work for Octave 3.2. What do you think which property is responsible for this printing anomaly? "defaultfigurepapersize" ? " image_size = [6.4, 4.8]; % in inches border = 0; % For postscript use 50/72 set (0, "defaultfigurepapertype", "<custom>") set (0, "defaultfigurepapersize", image_size + 2*border) set (0, "defaultfigurepaperposition", [border, border, image_size]) " I suspect the border should be negative. How do you see? Thanks, > Ben > > > > > > Blogger of http://fapuma.blogspot.com |
[Prev in Thread] | Current Thread | [Next in Thread] |