How can i remove colormap or shading?

5 ビュー (過去 30 日間)
재현 김
재현 김 2021 年 3 月 8 日
コメント済み: 재현 김 2021 年 3 月 18 日
xlin2 = linspace(min(vec_xypro(:,1)),max(vec_xypro(:,1)),200);
ylin2 = linspace(min(vec_xypro(:,2)),max(vec_xypro(:,2)),200);
[X,Y]=meshgrid(xlin2,ylin2);
f=scatteredInterpolant(vec_xypro(:,1),vec_xypro(:,2),vec_xypro(:,3));
Z=f(X,Y);
pcolor(X,Y,Z)
colormap('jet')
shading interp
colorbar
caxis([min(vec_xypro(:,3)),max(vec_xypro(:,3))]);
  1 件のコメント
재현 김
재현 김 2021 年 3 月 8 日
That code act like this. The upper one was draw first and the lowest one is last one. How can i remove former ones?

サインインしてコメントする。

採用された回答

darova
darova 2021 年 3 月 8 日
try cla before pcolor
  1 件のコメント
재현 김
재현 김 2021 年 3 月 18 日
Thank you for your brief answer

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeOrange についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by