# Plot a solution restricted to one of the boundary

**URL:** https://community.freefem.org/t/plot-a-solution-restricted-to-one-of-the-boundary/3757
**Category:** General Discussion
**Created:** [February 18, 2025, 7:54am UTC](https://community.freefem.org/t/plot-a-solution-restricted-to-one-of-the-boundary/3757 "2025-02-18T07:54:19Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Afrahs](https://avatars.discourse-cdn.com/v4/letter/a/9de0a6/32.png) [@Afrahs](https://community.freefem.org/u/Afrahs)
#### Post date: [February 18, 2025, 7:54am UTC](https://community.freefem.org/t/plot-a-solution-restricted-to-one-of-the-boundary/3757/1 "2025-02-18T07:54:19Z")

</div>

Hi everyone! I’m trying to plot a solution restricted to one of the boundary labels(5) using: meshL bM = extract(G, label=5); But I get an error it seems that `meshL` is undefined. my FreeFem++ version is 25.3 . How can I extract and plot on a boundary in this version ? Thanks!

---

<div class="post-metadata">

### Author: ![alh](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/alh/32/2354_2.png) [@alh](https://community.freefem.org/u/alh)
#### Post date: [February 18, 2025, 10:54pm UTC](https://community.freefem.org/t/plot-a-solution-restricted-to-one-of-the-boundary/3757/2 "2025-02-18T22:54:53Z")

</div>

Hi Afrahs. Thank you for your report. You have found a bug. I am looking into it right now, but it will take some time. I will try and create a new package asap. Are you using Windows or Linux? In the meantime, the easiest workaround for such plots is to use FreeFEM directly.

---

<div class="post-metadata">

### Author: ![alh](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/alh/32/2354_2.png) [@alh](https://community.freefem.org/u/alh)
#### Post date: [March 27, 2025, 9:46am UTC](https://community.freefem.org/t/plot-a-solution-restricted-to-one-of-the-boundary/3757/3 "2025-03-27T09:46:16Z")

</div>

FreeFEM-cs 25.4 is now available. It works with `meshL` and FreeFEM 4.15.
