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.
Dear Ben,
Thanks for the quick response.
What do you think which property is responsible for this printing
anomaly?
"defaultfigurepapersize" ?
From this example at nabble.com
"
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,
Lev