The Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Help? Text color of Legend in MATLAB 5.3.1
Replies: 1   Last Post: Apr 7, 2000 10:22 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
avonwu@my-deja.com

Posts: 5
Registered: 12/11/04
Help? Text color of Legend in MATLAB 5.3.1
Posted: Apr 7, 2000 9:54 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Thanks for your attention!

I can change the text color
of the legend by following fuctions in MATLAB 5.2,
why doesn't it work in MATLAB 5.3? Have I done
anything wrong?

lg=legend(' text 1',' text 2 ','text 3','text 4',0);
gt1=findobj(lg,'type','text');
set(gt1,'fontname','times','fontweight','bold');
set(gt1(2,1),'color','r','position',[0.3690 0.24 0]);
set(gt1(3,1),'color','r','position',[0.3690 0.38 0]);


Sent via Deja.com http://www.deja.com/
Before you buy.





Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2017. All Rights Reserved.