help-octave
[Top][All Lists]
Advanced

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

Re: cannot change the font size in legend


From: Dmitri A. Sergatskov
Subject: Re: cannot change the font size in legend
Date: Mon, 20 Jan 2020 09:03:23 -0500

On Mon, Jan 20, 2020 at 8:23 AM Francesco Potortì <address@hidden> wrote:
Is this a bug or it's me?

octave> plot(1:2)
octave> legend({"aa"}, 'fontsize', 10)
warning: legend: specifying location with a numeric argument is obsolete and will be removed from a future version of Octave, use a string specification instead
warning: called from
    legend at line 211 column 7
error: legend: invalid location specified
error: called from
    legend at line 218 column 9

 

Which octave version? If you compiling andd installing dev version, make sure you nuke
the old installation so you do not have old cruft around.
In any case that seems to work in current dev version

./run-octave -q -f
octave:1> plot(1:2)
octave:2> legend({"aa"}, "fontsize", 24)
octave:3> __octave_config_info__ ("hg_id")
ans = bb214b62839a

Dmitri.
--


 

reply via email to

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