how to cover contour lines that extends beyond a polygon?

I first plot a color "contourf", and then plot one of the contour lines by using "contour". Because some of the contours extends beyond the polygon (geographic region), I tried to use "patch" or "fill" to cover the contours beyond the boundary (as suggested by friends in another question). Here is the problem:
It only covers the color contourf plots, but does not cover the contour lines plotted by "contour".
What am I missing?

Respuestas (0)

Categorías

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

Etiquetas

Preguntada:

el 17 de En. de 2014

Editada:

el 17 de En. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by