Thread Subject: Need help with legend

Subject: Need help with legend

From: n o s p a m p l e a s e

Date: 2 Jun, 2009 09:17:57

Message: 1 of 3

legend
('dV1cdI1c','dV1bdI1b','dV1adI1a','dV2cdI2c','dV2bdI2b','dV2adI2a','Location',Best)

The above is giving me error. However without *'Location',Best* it is
working. How can I use 'Location',Best in the above statement?

Subject: Need help with legend

From: Aurelien Queffurust

Date: 2 Jun, 2009 09:42:02

Message: 2 of 3

n o s p a m p l e a s e <nospam.please@live.com> wrote in message <697d6a0c-897b-4597-97ed-f040ca501960@h18g2000yqj.googlegroups.com>...
> legend
> ('dV1cdI1c','dV1bdI1b','dV1adI1a','dV2cdI2c','dV2bdI2b','dV2adI2a','Location',Best)
>
> The above is giving me error. However without *'Location',Best* it is
> working. How can I use 'Location',Best in the above statement?

if you have the error message:
??? Undefined function or variable 'Best'.
it is because you have to type Best between quotes:
legend('dV1cdI1c','dV1bdI1b','dV1adI1a','dV2cdI2c','dV2bdI2b','dV2adI2a','Location','Best')

Subject: Need help with legend

From: Kris Goodwin

Date: 2 Jun, 2009 09:45:51

Message: 3 of 3

Best should be in single quotes

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com