Contrast problem using surf plot in subplot
9 ビュー (過去 30 日間)
古いコメントを表示
I'm trying to create a subplot containing 4 surf' with three a ranged colormap (white,red,green), the problem is that when I call subplot my surf plots become so small all parts seem the same way, I have to zoom a lot so I can see the difference.
subplot(2,2,i); surf(access);
view(0,90);
map = [1 1 1;1 0 0;0 1 0];
colormap(map);
axis equal;
2 件のコメント
VBBV
2020 年 12 月 6 日
Specify different X, Y limits e.g. 80 to 120 inside the surf or contourf functions for each subplots. Also ensure that Z matrix has dimensions agreeing the new X,Y range
回答 (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!