help-octave
[Top][All Lists]
Advanced

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

help with legend


From: Valmor de Almeida
Subject: help with legend
Date: Sun, 15 Jan 2012 12:48:15 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110816 Lightning/1.0b3pre Lanikai/3.1.10

Hello,

I am trying to customize legends on a plotyy axes/lines but I am not
able to. Here are the commands:

 [ax, h1, h2] = plotyy(x1,y1, x2,y2, @plot, @plot);

 legend(h1,y1Label,"location",'south',"fontname",'Helvetica');

 legend(h2,y2Label,"location",'northeast',"fontname",'Helvetica');

Only the first legend shows up and the font is Courier which I am unable
to change. Also the text in the legend precedes the key which I would
like to invert using 'right' but it does not work either.

I am using octave-3.4.0. Would anyone have an example?

Thanks,

--
Valmor

PS: In the above command I also tried legend(ax(1),...) and it does not
make a difference.


reply via email to

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