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 change the layer of a figure in matlab?

Subject: How to change the layer of a figure in matlab?

From: Yuheng

Date: 11 Jul, 2012 02:04:50

Message: 1 of 1

Hi,
I met a problem with plotting a figure in matlab.

a = peaks(100);
clf
hold on
pcolor(a)
shading interp
[c,h] = contour(a,'k');
clabel(c,h)

After running this code, the result of clabel is not visible. Could anyone give me some advice on how to show it?
An extended question is, in matlab, is it possible to change the layer of a figure object by SET or other functions?

Any help would be appreciated.
Thanks!

Tags for 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