# How to plot contour in an arbitrary shape of area?

**URL:** <https://discourse.julialang.org/t/how-to-plot-contour-in-an-arbitrary-shape-of-area/67902>\
**Category:** Visualization\
**Tags:** question, gmt\
**Created:** [September 9, 2021, 1:06am UTC](https://discourse.julialang.org/t/how-to-plot-contour-in-an-arbitrary-shape-of-area/67902 "2021-09-09T01:06:08Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [September 9, 2021, 1:39am UTC](https://discourse.julialang.org/t/how-to-plot-contour-in-an-arbitrary-shape-of-area/67902/2 "2021-09-09T01:39:09Z")

</div>

Interpolate your scatter points into a grid or compute one and then do like [this example](https://discourse.julialang.org/t/contour-plot-for-non-rectangular-domain/57381/5) except that you’ll have to provide the points of the clipping polygon.

---

_[View the full topic](https://discourse.julialang.org/t/how-to-plot-contour-in-an-arbitrary-shape-of-area/67902)._
