clim in pcolor plot
古いコメントを表示
Hi,
I have a pcolor plot that I want to set the color limits on. My code is
pcolor(X,Y,f(data))
shading interp
but if i add a third line
clim([0,1])
then I get an "??? Undefined function or method 'clim' for input arguments of type 'double'." error.
Any suggestions?
採用された回答
その他の回答 (1 件)
Ben Mitch
2011 年 5 月 25 日
are you perhaps looking for...?
set(gca, 'clim', [0 1]);
カテゴリ
ヘルプ センター および File Exchange で Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!