# Surface plot with gaps in data

**URL:** <https://discourse.julialang.org/t/surface-plot-with-gaps-in-data/92441>\
**Category:** Visualization\
**Tags:** makie\
**Created:** [January 3, 2023, 3:31am UTC](https://discourse.julialang.org/t/surface-plot-with-gaps-in-data/92441 "2023-01-03T03:31:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MK-1138](https://avatars.discourse-cdn.com/v4/letter/m/22d042/32.png) [@MK-1138](https://discourse.julialang.org/u/MK-1138)\
**Post date:** [January 3, 2023, 3:31am UTC](https://discourse.julialang.org/t/surface-plot-with-gaps-in-data/92441/1 "2023-01-03T03:31:07Z")

</div>

I’m preparing a rather large data set of x, y, z coordinates that I’d like to visualize using Makie surface plot. However, I do not have z coordinates for all (x, y) coordinates, that is, there is a gap in my data. Is it still possible to plot surface plot with part of the surface missing, or am I required to obtain all z coordinates for the complete x by y grid before I can plot?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![vettert](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vettert/32/30599_2.png) [@vettert](https://discourse.julialang.org/u/vettert)\
**Post date:** [January 3, 2023, 3:47am UTC](https://discourse.julialang.org/t/surface-plot-with-gaps-in-data/92441/2 "2023-01-03T03:47:26Z")

</div>

Should be fine if you have NaN for missing data.

---

<div class="post-metadata">

**Author:** ![MK-1138](https://avatars.discourse-cdn.com/v4/letter/m/22d042/32.png) [@MK-1138](https://discourse.julialang.org/u/MK-1138)\
**Post date:** [January 4, 2023, 2:38am UTC](https://discourse.julialang.org/t/surface-plot-with-gaps-in-data/92441/3 "2023-01-04T02:38:20Z")

</div>

Thank you. I’ll update this answer with how it went once I plot it.
