Thread Subject: command for add a label to the contour

Subject: command for add a label to the contour

From: Aimin Yan

Date: 14 Oct, 2007 05:27:38

Message: 1 of 2

I can click the Plot Labels button to add a label to the
contour. Does anyone know how to do this in command line.

Subject: command for add a label to the contour

From: PB

Date: 14 Oct, 2007 08:11:34

Message: 2 of 2

Den Sun, 14 Oct 2007 05:27:38 +0000 skrev Aimin Yan:

> I can click the Plot Labels button to add a label to the
> contour. Does anyone know how to do this in command line.

Use clabel:

[c,h]=contourf(peaks)
clabel(c,h)

/PB

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