Changing the colour of a plot
Mostrar comentarios más antiguos
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 comentarios
Image Analyst
el 12 de Dic. de 2012
Link doesn't work.
John
el 12 de Dic. de 2012
Walter Roberson
el 12 de Dic. de 2012
Is that a surf() plot ?
John
el 12 de Dic. de 2012
Respuestas (1)
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.
1 comentario
John
el 12 de Dic. de 2012
Categorías
Más información sobre Creating, Deleting, and Querying Graphics Objects en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!