Borrar filtros
Borrar filtros

Contourf colorbar control :white and rainbow

2 visualizaciones (últimos 30 días)
Utsav
Utsav el 30 de Mayo de 2016
Comentada: Utsav el 30 de Mayo de 2016
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 comentario
Utsav
Utsav el 30 de Mayo de 2016
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;

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Colormaps en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by