help-octave
[Top][All Lists]
Advanced

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

Re: setting fontsize in legend


From: Ben Abbott
Subject: Re: setting fontsize in legend
Date: Wed, 05 Sep 2012 08:12:20 -0400

On Sep 5, 2012, at 12:51 AM, asha g wrote:

> 
>  How do you set fontsize in legend. I did 
> legend ( "n ==1","fontsize",10, "n ==100","fontsize",10) 
> 
> but it does not work.
> 
> Help appreciated.
> 
> Thanks
> 
> Asha G 
>  

Running the developers sources, this works for me.

plot (rand (3))
h = legend ({"plot1","plot2","plot3"});
set (h, "fontsize", 14)

Ben



reply via email to

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