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 comentarios

Adam Danz
Adam Danz el 28 de Abr. de 2021
Editada: Adam Danz el 10 de Mayo de 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 el 10 de Mayo de 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 el 10 de Mayo de 2021
If you attach a mat file containing the X,Y,Z variables I can take a closer look.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Contour Plots en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 27 de Abr. de 2021

Comentada:

el 10 de Mayo de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by