help-octave
[Top][All Lists]
Advanced

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

Re: Plot text size?


From: Andy Buckle
Subject: Re: Plot text size?
Date: Wed, 14 Apr 2010 08:54:12 +0100

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

On Tue, Apr 13, 2010 at 2:23 PM,  <address@hidden> wrote:
> I have been using octave to create plots for lab reports and the text in the
> plot is smaller than I would prefer. Is there a simple thing I've missed in
> the octave documentation that controls the size of text for a plot?
> I've include a basic example of what kind plotting I am doing.
> x = linspace(0,5,1000);
> y = x;
> plot(x,y,'r*')
> xlabel('X')
> ylabel('Y')
> title('Plot of Y vs X')
> legend('y = x')
> grid on
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>
>



-- 
/* andy buckle */



reply via email to

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