pcolor

조회 수: 2 (최근 30일)
Arundhatee Talukdar
Arundhatee Talukdar 2011년 11월 16일
How to get rid of the black lines at the edge of each changing color?
  댓글 수: 6
Walter Roberson
Walter Roberson 2011년 11월 16일
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 2011년 11월 16일
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.

댓글을 달려면 로그인하십시오.

답변 (2개)

Jonathan
Jonathan 2011년 11월 16일
hand = pcolor(hadamard(20))
set(hand, 'linestyle', 'none')
  댓글 수: 3
Arundhatee Talukdar
Arundhatee Talukdar 2011년 11월 16일
I am using pcolor(X,Y, Z)
In that case, how I do this?
Jonathan
Jonathan 2011년 11월 16일
hand = pcolor(X,Y, Z)
set(hand, 'linestyle', 'none')

댓글을 달려면 로그인하십시오.


Kelly Kearney
Kelly Kearney 2011년 11월 16일
Alternatively
pcolor(X,Y,Z);
shading flat;

카테고리

Help CenterFile Exchange에서 Graphics Object Properties에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by