[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fontsize of legend in a plot?
From: |
Math4Fun |
Subject: |
Re: Fontsize of legend in a plot? |
Date: |
Wed, 10 Mar 2010 15:26:05 -0800 (PST) |
You can change the font size in the legend using
a=legend('{\fontsize{14} one}','two','three','four')
However, if you make the font too big it won't automatically change the
spacing in the y-direction.
Matthias Brennwald (bwm) wrote:
>
> Dear all
>
> Is it possible to set the font size used for the legend in a plot? In
> Matlab, one would do the following (see
> http://www.mathworks.com/support/solutions/data/1-16U2V.html?solution=1-16U2V):
>
> plot(rand(4))
> h_legend=legend('One','Two','Three','Four');
> set(h_legend,'FontSize',14);
>
> In Octave, however, the legend command does not return a handle to the
> text object (or anyting else, for that matter). I have Octave 3.0.0 on
> Ubuntu Hardy 8.04. I use the standard gnuplot backend for plotting.
>
> Any suggestions are ideas?
>
> Thanks,
> Matthias
>
>
> --
> Matthias Brennwald
> Project Manager Safety Analysis
> Nagra, 5430 Wettingen, Switzerland
> +41 56 437 13 32
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www.cae.wisc.edu/mailman/listinfo/help-octave
>
>
--
View this message in context:
http://old.nabble.com/Fontsize-of-legend-in-a-plot--tp17489024p27857341.html
Sent from the Octave - General mailing list archive at Nabble.com.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Fontsize of legend in a plot?,
Math4Fun <=