help-octave
[Top][All Lists]
Advanced

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

Fontsize of legend in a plot?


From: Matthias Brennwald
Subject: Fontsize of legend in a plot?
Date: Tue, 27 May 2008 13:28:47 +0200

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



reply via email to

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