help-octave
[Top][All Lists]
Advanced

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

Re: Plotting options ignored


From: Johan Lans
Subject: Re: Plotting options ignored
Date: Thu, 13 Oct 2011 14:58:39 +0200



2011/10/13 Ben Abbott <address@hidden>
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


This just extends the box, keeping the legend the same way as before. Ok, but if this is fixed in the new version, I'll try getting that version working. It might work better at my linux box at home.

thanks for your help

/Johan

reply via email to

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