three figures in one figure for display
1 次查看(过去 30 天)
显示 更早的评论
clf
figure(1);
colormap(jet)
pcolor(Uyear)
shading interp % remove the grid lines
colorbar
figure(2);
colormap(jet)
pcolor(Vyear)
shading interp % remove the grid lines
colorbar
figure(3);
colormap(jet)
pcolor(U2/V2)
shading interp
colorbar
2 个评论
Image Analyst
2015-8-24
I don't see any question here. Are you wanting to know how to use subplot()???
采纳的回答
Walter Roberson
2015-8-31
figure(1);
subplot(3,1,1)
pcolor(Uyear)
colormap(jet)
shading interp % remove the grid lines
colorbar
subplot(3,1,2)
pcolor(Vyear)
colormap(jet)
shading interp % remove the grid lines
colorbar
subplot(3,1,3)
pcolor(U2/V2)
colormap(jet)
shading interp
colorbar
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subplots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!