Changing the colour of a plot

Hi,
Could anybody tell me how I can get this plot more colourful? It is primarily blue and I can't change it using the colour map because the interval are not small enough.
thank you

5 Kommentare

Image Analyst
Image Analyst am 12 Dez. 2012
Link doesn't work.
John
John am 12 Dez. 2012
Sorry, it does now.
Thanks
Walter Roberson
Walter Roberson am 12 Dez. 2012
Is that a surf() plot ?
John
John am 12 Dez. 2012
Yes, it is.
John
John am 12 Dez. 2012
Bearbeitet: John am 12 Dez. 2012
Here is the data, if you would like to plot it yourself.
surf(x1, y1, z1);
I'm just trying to make it more colourful.
Thanks

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Matt Fig
Matt Fig am 12 Dez. 2012
Bearbeitet: Matt Fig am 12 Dez. 2012

0 Stimmen

load Data
S = surf(x1, y1, z1); % Original to compare
figure
S2 = surf(x1, y1, z1);
set(S2,'facecolor','interp','CData',z1*1e3,'cdatam','direct')
set(gcf,'colormap',jet(20)) % You can play around with this.

Kategorien

Mehr zu Creating, Deleting, and Querying Graphics Objects finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 12 Dez. 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by