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 fix the colormap

Subject: how to fix the colormap

From: Tomas

Date: 22 Sep, 2009 21:27:02

Message: 1 of 3

I?m creating a sequence of surf figures. I want the color to be the same at the same values between the figures (not scaled as default). Can someone please tell me how to do this?

Regards,
Tomas

Subject: how to fix the colormap

From: ImageAnalyst

Date: 23 Sep, 2009 01:19:24

Message: 2 of 3

On Sep 22, 5:27 pm, "Tomas " <tomas...@gmail.com> wrote:
> I?m creating a sequence of surf figures. I want the color to be the same at the same values between the figures (not scaled as default). Can someone please tell me how to do this?
>
> Regards,
> Tomas

------------------------------------------------------------
Can't you just use the colormap() function and pass in the same
colormap array to all figures?

If not, maybe this will help - kind of the opposite of what you want
to do but interesting nonetheless.
http://www.mathworks.com/support/tech-notes/1200/1215.html

Subject: how to fix the colormap

From: PTR H

Date: 29 Sep, 2009 10:19:02

Message: 3 of 3

"Tomas " <tomasnic@gmail.com> wrote in message <h9bff6$88d$1@fred.mathworks.com>...
> I?m creating a sequence of surf figures. I want the color to be the same at the same values between the figures (not scaled as default). Can someone please tell me how to do this?
>
> Regards,
> Tomas

caxis([cmin cmax]) works fine for me....

PTR

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