colorbar

6 visualizaciones (últimos 30 días)
S
S el 22 de Mzo. de 2011
Hi everyone,
I plot some data using 'surf' plus a colorbar at the end. The plot shows a pixelated picture. The colors which represent the data are not continuous and there is a sharp jump between colors. I was thinking if I can increase the number of the colors in the bar then it looks more continuoues. I will appreciate any help from you.
Thank you,
S.

Respuesta aceptada

Matt Tearle
Matt Tearle el 22 de Mzo. de 2011
You can change your colormap to have more colors. The default is 64.
colormap(jet(128))
  1 comentario
S
S el 23 de Mzo. de 2011
Thank you Matt, I will try yours:)

Iniciar sesión para comentar.

Más respuestas (1)

Matt Fig
Matt Fig el 22 de Mzo. de 2011
Is this what you are looking for?
% Make your surface plot, then:
shading('interp')
  1 comentario
S
S el 22 de Mzo. de 2011
That's it. That's what was looking for. Thank you sooooooooooooo.... much Matt Fig.

Iniciar sesión para comentar.

Categorías

Más información sobre Colorbar en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by