How to remove the grid from plot

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.

 采纳的回答

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

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Scatter Plots 的更多信息

产品

标签

Community Treasure Hunt

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

Start Hunting!

Translated by