MATLAB: Contourf with no isoline

contourf

Hi
How do I plot a contourf plot only with colors and no isolines?
"filled contour plot displays isolines calculated from matrix Z and fills the areas between the isolines using constant colors corresponding to the current figure's colormap"
I wish to have only the color between the isolines but no isolines..
Thanks
Shani

Best Answer

Here is an example of how to do it:
[C,h] = contourf(peaks(20),10);
set(h,'LineColor','none')
Related Question