I have created the following figure with "pcolor", but grid lines or ticks do not show up. How do I get them to display?
x=-2:0.1:2;y=-2:0.1:2;vals=rand(41);p=pcolor(x,y,vals)set(p,'EdgeColor','none')grid on
gridMATLABpcolor
x=-2:0.1:2;y=-2:0.1:2;vals=rand(41);p=pcolor(x,y,vals)set(p,'EdgeColor','none')grid on
Best Answer