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:
Invisible clabel when plot pcolor and contour together

Subject: Invisible clabel when plot pcolor and contour together

From: Yuheng

Date: 12 May, 2014 02:00:18

Message: 1 of 2

%% example
pcolor(peaks)
shading interp
hold on
[cs,h] = contour(peaks,5,'k');
clabel(cs,h)

When I run the code above on my desktop, the result is as follow, the clabels is invisible. I have tried to set the 'Color', 'BackgroundColor' and 'Visible' of the text object, but it does not work.
http://s619.photobucket.com/user/ysg_ysg/media/untitled.jpg.html

The same code works well on my laptop, both have Matlab 2013a installed on Window 7.

Is anyone have some idea on how to fix it?
Thanks a lot!

Subject: Invisible clabel when plot pcolor and contour together

From: Yuheng

Date: 12 May, 2014 06:26:08

Message: 2 of 2

Sorry, a wrong figure is linked

http://i619.photobucket.com/albums/tt277/ysg_ysg/contour.jpg

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