octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: plotyy gnuplot error?


From: Ben Abbott
Subject: Re: plotyy gnuplot error?
Date: Sun, 14 Jun 2009 15:40:16 -0400


On Jun 12, 2009, at 3:44 PM, Levente Torok wrote:

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

I do not see the problem you mention. I assume you've changed one or more of the figure's paper properties.

If you can give a complete and simple example, I'll take a look.

Ben



reply via email to

[Prev in Thread] Current Thread [Next in Thread]