delete contour lines

61 views (last 30 days)
Götz Flöser
Götz Flöser on 8 Jul 2011
Commented: Azam Chowdhury on 2 Nov 2018
How do I delete the contour lines in a contourf plot? Or is there a plot type which does not draw lines but only fills the colors?
  1 Comment
Udhav Gawandalkar
Udhav Gawandalkar on 5 Apr 2017
Hi This is what I did to get rid of contour lines.
  1. Once you have figure window popped up, click on show "plot tool and dock feature" button in the toolbar of the figure
  2. select the figure plotted
  3. click on the Property Editor button (left bottom corner)
  4. Now, you should see Lines option
  5. select no line
enjoy!

Sign in to comment.

Accepted Answer

Friedrich
Friedrich on 8 Jul 2011
Hi,
contourf(peaks(20),10,'edgecolor','none');
greetings
  2 Comments
Frederico Severgnini
Frederico Severgnini on 23 Aug 2016
Thank you Friedrich, that was really helpful!
Azam Chowdhury
Azam Chowdhury on 2 Nov 2018
great

Sign in to comment.

More Answers (0)

Categories

Find more on Contour Plots in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!