help-octave
[Top][All Lists]
Advanced

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

Re: Plotting options ignored


From: Ben Abbott
Subject: Re: Plotting options ignored
Date: Thu, 13 Oct 2011 08:54:09 -0400

On Oct 13, 2011, at 8:44 AM, Johan Lans wrote:

> 2011/10/13 Ben Abbott <address@hidden>
> 
> On Oct 13, 2011, at 7:59 AM, Johan Lans wrote:
> 
> >
> > 2011/10/13 Marco Atzeri <address@hidden>
> > On 10/13/2011 1:36 PM, Johan Lans wrote:
> >
> > legend("Z_{target}", "VRM", "Z_{sum}", "330uF Tant", "0603 0.47uF",
> > "plane", "location", "outside")
> >
> > legend("Z_{target}", "VRM", "Z_{sum}", "330uF Tant", "0603 0.47uF", 
> > "plane", "location", "eastoutside")
> >
> > something like that ?
> >
> > Regards
> > Marco
> >
> > Sorry, no difference...
> >
> > /Johan
> 
> This works for me.
> 
> clf
> x = 0:1;
> plot (x, x, x, 2*x, x, 3*x);
> legend ("blue x", "green 2*x", "red 3*x", "location", "eastoutside")
> 
> I've attached a pdf of the result.
> 
> Can you provide a complete (preferably short) example that we can try to 
> duplicate?
> 
> Ben
> 
> OK, I tried the example you provided. This looks different from your attached 
> pdf. I've attached my result, as pdf and svg, since the pdf  looks a bit 
> strange...
> 
> /Johan

Ok. I just noticed you are using 3.2.4. I had originally read it as 3.4.2.

This problem has been fixed since the release of the version you are running. 
To work around this bug you can try to adjust with width of the axes plot box.

        position = get (gca, "position");
        set (gca, "position", position .* [1 1 0.8 1])

Ben




reply via email to

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