フィルターのクリア

Contourf colorbar control :white and rainbow

2 ビュー (過去 30 日間)
Utsav
Utsav 2016 年 5 月 30 日
コメント済み: Utsav 2016 年 5 月 30 日
I have following plot with contourf, I used command contourf(dd,Z,SS); SS in the matrix
I need SS<5 to be displayed in white and above 5 in rainbow palette.
SS(SS<=5) = NaN; gives scissorcut image much to my chagrin
Please help friends!
  1 件のコメント
Utsav
Utsav 2016 年 5 月 30 日
I could find out the answer in the link
reply by Alessandro Toso
[hC hC] = contourf(interp2(e_av,2,'spline'),[0.12:0.01:0.3]); > set(hC,'LineStyle','none'); > colorbar;

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

回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by