Honda Car Forum


 

Go Back   Honda Car Forum - Accord Parts Civic Tuning Acura Racing > Discussion > Acura Technical

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06 May 2013, 09:20 pm
Junior Member
 
Join Date: May 2013
Posts: 1
Default Mathlab legend fontsize question?

I tried this:>>plot(rand(10,3));>> legend('Subject Position','Target Position', 'Location','NorthWest', 'fontsize',20);















Matlab gives 3 legend name: Subject Position, Target Position, fontsize. Somehow fontsize get registered as legend entry for name















But What i really want is legend for 2 lines with font 20































When I try:















>> legend('Subject Position','Target Position','Ball Position', 'Location','NorthWest', 'fontsize',20);















Warning: Ignoring extra legend entries. > In legend at 292















Same error. Subject Position, Target Position, Ball Position appear on graph. fontsize stays the default size.































But this works:















>>legend({'Subject Position','Target Position','Ball Position'}, 'Location','South', 'FontSize',20);































And this works:















>>leg = legend('Subject Position','Target Position','Ball Position', 'Location','NorthWest', 'fontsize',20);>>set (leg,'fontsize',20);































Can someone give me an explanation. I've been researching for hours















Thanks
Reply With Quote
  #2 (permalink)  
Old 06 May 2013, 09:31 pm
Junior Member
 
Join Date: May 2013
Posts: 2
Default

Maybe because you capitalized 'fontsize' to 'FontSize'. I'm still not sure though. Anyways, don't you look at which category you ask this too? I don't know if you realized or not, but you asked this under Acura in Cars &Transportation. Next time ask this under programming in Computers & Internet.
Reply With Quote
  #3 (permalink)  
Old 06 May 2013, 09:47 pm
Senior Member
 
Join Date: Nov 2007
Posts: 911
Default

this is the ACURA car aisle.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
'93 Acura Legend Question? Alex Acura Technical 1 27 Mar 2010 01:01 pm
94 acura legend question? Sterling Acura Technical 1 19 Nov 2009 01:46 am
Question about a Honda Legend? Selina Honda Technical 2 23 Oct 2009 10:01 am
acura legend question? sean Acura Technical 2 03 Apr 2008 06:31 pm
Re: '89 Legend Fuel Injection Question Mikey Acura 3 13 Sep 2003 09:20 pm


All times are GMT -5. The time now is 06:07 pm.


Attribution:
Honda News | Autoblog
Powered by Yahoo Answers




Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.6.0 PL2 © 2011, Crawlability, Inc.
HondaCarForum.com is not affiliated with Honda Motor Company in any way. Honda Motor Company does not sponsor, support, or endorse HondaCarForum.com in any way. Copyright/trademark/sales mark infringements are not intended or implied.