Fontsize of legend in a plot?

Matthias Brennwald matthias.brennwald at nagra.ch
Tue May 27 06:28:47 CDT 2008


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



More information about the Help-octave mailing list