Borrar filtros
Borrar filtros

pcolor

4 visualizaciones (últimos 30 días)
Arundhatee Talukdar
Arundhatee Talukdar el 16 de Nov. de 2011
How to get rid of the black lines at the edge of each changing color?
  6 comentarios
Walter Roberson
Walter Roberson el 16 de Nov. de 2011
Kelly, pcolor does color interpretation for the faces according to the colors of the vertices (which are not drawn), so the color of any one face is not directly associated with a single point value and instead is an interpolation according to what is nearby.
Kelly Kearney
Kelly Kearney el 16 de Nov. de 2011
That's true only if the shading scheme is set to interpolated. Otherwise, the color is associated with a single vertex, and in Image Analyst's example, each cell with a 1 in its upper right corner is indeed the same color as other 1-cells, regardless of its neighbors.

Iniciar sesión para comentar.

Respuestas (2)

Jonathan
Jonathan el 16 de Nov. de 2011
hand = pcolor(hadamard(20))
set(hand, 'linestyle', 'none')
  3 comentarios
Arundhatee Talukdar
Arundhatee Talukdar el 16 de Nov. de 2011
I am using pcolor(X,Y, Z)
In that case, how I do this?
Jonathan
Jonathan el 16 de Nov. de 2011
hand = pcolor(X,Y, Z)
set(hand, 'linestyle', 'none')

Iniciar sesión para comentar.


Kelly Kearney
Kelly Kearney el 16 de Nov. de 2011
Alternatively
pcolor(X,Y,Z);
shading flat;

Categorías

Más información sobre Geographic Plots 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