How to remove the grid from a pcolor plot ?
grid off does not work.
x = linspace(0,10);
[X,Y] = meshgrid(x,x);
z = X.*Y;
s = pcolor(x,x,z);
s.FaceColor = 'interp';
Thank you.

댓글 수: 2

Have you tried this?
s.MeshStyle = 'none';
Ole
Ole 2020년 7월 30일
Thank you!
Works perfect

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

 채택된 답변

KSSV
KSSV 2020년 7월 30일

2 개 추천

x = linspace(0,10);
[X,Y] = meshgrid(x,x);
z = X.*Y;
pcolor(x,x,z);
shading interp

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Scatter Plots에 대해 자세히 알아보기

제품

태그

질문:

Ole
2020년 7월 30일

댓글:

Ole
2020년 7월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by