Shading problem
显示 更早的评论
Hello,
I have a problem with "shading interp". It doesn't work properly, if Idon't plot some additional points over it. Any help?
An example:
%%
n = 20;
data = randn(n);
x = linspace(-180,180,n);
y = linspace(-90,90,n);
figure(1);clf;hold on % Looks OK
pcolor(x,y,data);shading interp
plot(x,y,'w.','markersize',1);hold off % additional plotting
axis tight
figure(2);clf;hold on % Looks funny
pcolor(x,y,data);shading interp;hold off;axis tight
axis on
Janne
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 2-D and 3-D Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!