How to close contours

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 Commenti

Adam Danz
Adam Danz il 28 Apr 2021
Modificato: Adam Danz il 10 Mag 2021
Wouldn't that indicate that data are missing at the contour edges? Are you just calling contour to produce those results or are they images?
Jorge Reveron
Jorge Reveron il 10 Mag 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 il 10 Mag 2021
If you attach a mat file containing the X,Y,Z variables I can take a closer look.

Accedi per commentare.

Risposte (0)

Categorie

Prodotti

Richiesto:

il 27 Apr 2021

Commentato:

il 10 Mag 2021

Community Treasure Hunt

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

Start Hunting!

Translated by