help-octave
[Top][All Lists]
Advanced

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

Re: Plot text size?


From: Ben Abbott
Subject: Re: Plot text size?
Date: Wed, 14 Apr 2010 07:56:55 -0400

On Apr 14, 2010, at 3:54 AM, Andy Buckle wrote:

> x = linspace(0,5,1000);
> y = x;
> plot(x,y,'r*')
> xlabel('X','fontsize',7)
> ylabel('Y','fontsize',10)
> title('Plot of Y vs X','fontsize',14)
> legend('y = x')
> set(gca,'fontsize',20); % sets font of numbers on axes
> grid on
> 
> I am not sure how to change the font size for the legend.
> 
> Andy

For Octave 3.00 through 3.2.3 there isn't a way to change the legend fontsize. 

The fontsize for the legends in Octave 3.2.4 is inherited from the axes.

The current developer's sources will/may soon be modified to implement the 
legend in a manner compatible with Matlab, so the current behavior will 
eventually change.

Ben




reply via email to

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