# Plot part of 3D

**URL:** <https://community.freefem.org/t/plot-part-of-3d/3863>\
**Category:** General Discussion\
**Created:** [April 15, 2025, 9:53am UTC](https://community.freefem.org/t/plot-part-of-3d/3863 "2025-04-15T09:53:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![zxss](https://avatars.discourse-cdn.com/v4/letter/z/bc8723/32.png) [@zxss](https://community.freefem.org/u/zxss)\
**Post date:** [April 15, 2025, 9:53am UTC](https://community.freefem.org/t/plot-part-of-3d/3863/1 "2025-04-15T09:53:48Z")

</div>

Can freefem++ plot one labelled surface of a 3D geometry?

---

<div class="post-metadata">

**Author:** ![henkel](https://avatars.discourse-cdn.com/v4/letter/h/b77776/32.png) [@henkel](https://community.freefem.org/u/henkel)\
**Post date:** [April 16, 2025, 11:06am UTC](https://community.freefem.org/t/plot-part-of-3d/3863/2 "2025-04-16T11:06:55Z")

</div>

Export the mesh / a solution with `savevtk` and post-process the data using [Paraview](https://www.paraview.org/). Use the threshold filter applied to the label data to display only your desired surface.

---

<div class="post-metadata">

**Author:** ![zxss](https://avatars.discourse-cdn.com/v4/letter/z/bc8723/32.png) [@zxss](https://community.freefem.org/u/zxss)\
**Post date:** [April 16, 2025, 11:39am UTC](https://community.freefem.org/t/plot-part-of-3d/3863/3 "2025-04-16T11:39:40Z")

</div>

Thanks very much for your answer. I tried it, however, it seems not work. Can you show the label 1 surface with a .vtk file which can directly generated from the following .edp file. It is only a mesh file. And my aim is to check whether the tetgenreconstruction would change the surface labels.  
[ex2-cube\_tetgen.edp](https://community.freefem.org/uploads/short-url/3JLDPxV7NdlUUHudwmdyjHU2Zhf.edp) (335 Bytes)

---

<div class="post-metadata">

**Author:** ![henkel](https://avatars.discourse-cdn.com/v4/letter/h/b77776/32.png) [@henkel](https://community.freefem.org/u/henkel)\
**Post date:** [April 16, 2025, 12:32pm UTC](https://community.freefem.org/t/plot-part-of-3d/3863/4 "2025-04-16T12:32:29Z")

</div>

Thank you for supplying the edp. I do not see any problem:

 ![label1](https://canada1.discourse-cdn.com/flex030/uploads/freefem/original/2X/2/249687adaa1cfbd09a7af12d71b0c34d3bf53cd7.png)

---

<div class="post-metadata">

**Author:** ![aszaboa](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/aszaboa/32/2918_2.png) [@aszaboa](https://community.freefem.org/u/aszaboa)\
**Post date:** [April 16, 2025, 7:59pm UTC](https://community.freefem.org/t/plot-part-of-3d/3863/5 "2025-04-16T19:59:39Z")

</div>

I think you can use the threshold filter, and in select the label field, and specify a range which corresponds to the surface label you wish to visualize.

---

<div class="post-metadata">

**Author:** ![zxss](https://avatars.discourse-cdn.com/v4/letter/z/bc8723/32.png) [@zxss](https://community.freefem.org/u/zxss)\
**Post date:** [April 17, 2025, 5:40pm UTC](https://community.freefem.org/t/plot-part-of-3d/3863/6 "2025-04-17T17:40:18Z")

</div>

Thank you very much! It works very well.
