How to close contours

7 views (last 30 days)
Jorge Reveron
Jorge Reveron on 27 Apr 2021
Commented: Adam Danz on 10 May 2021
Hello,
I'm creating a 2-D contour plot with contour function:[C,h]=contour(X,Y,Z), but some contours are open. Is there a way to close these contours? I attach the figure
Thanks in advance,
Jorge
  3 Comments
Jorge Reveron
Jorge Reveron on 10 May 2021
Hi Adam,
There isn't indication of missing contour edges. It's just the contours aren't close.
I call contour to produce them.
Jorge
Adam Danz
Adam Danz on 10 May 2021
If you attach a mat file containing the X,Y,Z variables I can take a closer look.

Sign in to comment.

Answers (0)

Categories

Find more on Contour Plots in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!