Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
How to label mutiple lines in a graph

Subject: How to label mutiple lines in a graph

From: daniel

Date: 13 Feb, 2011 02:13:03

Message: 1 of 2

Basically, I am having trouble labeling all the lines that are in my graph,each line is produced from a function file that I am running. Each line is superimposed onto the graph using the hold function.

Subject: How to label mutiple lines in a graph

From: ImageAnalyst

Date: 13 Feb, 2011 02:16:30

Message: 2 of 2

On Feb 12, 9:13 pm, "daniel " <dam...@ucsd.edu> wrote:
> Basically, I am having trouble labeling all the lines that are in my graph,each line is produced from a function file that I am running. Each line is superimposed onto the graph using the hold function.

---------------------------------
Use legend() or text().

Tags for this Thread

No tags are associated with this thread.

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.

Contact us