Can you create a plot with contourf without the contour lines?

1 view (last 30 days)
I'd like to create plot using contourf without the contour lines superimposed.

Answers (1)

Jason R
Jason R on 20 Feb 2014
Edited: Jason R on 20 Feb 2014
Use the shading flat command.
Example use:
Z = peaks(20); contourf(Z,10);
shading flat

Categories

Find more on Contour Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!