How to remove the grid from plot

Illustration
Abigailwilliams - 2020-08-04T10:16:48+00:00
Question: 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';

Expert Answer

Profile picture of Kshitij Singh Kshitij Singh answered . 2025-11-20

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


Not satisfied with the answer ?? ASK NOW

Get a Free Consultation or a Sample Assignment Review!