# How can we print (plot,show) coordinate values to the corners of the mesh?

**URL:** <https://community.freefem.org/t/how-can-we-print-plot-show-coordinate-values-to-the-corners-of-the-mesh/2025>\
**Category:** General Discussion\
**Created:** [September 26, 2022, 12:06pm UTC](https://community.freefem.org/t/how-can-we-print-plot-show-coordinate-values-to-the-corners-of-the-mesh/2025 "2022-09-26T12:06:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhy622](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/mhy622/32/1349_2.png) [@mhy622](https://community.freefem.org/u/mhy622)\
**Post date:** [September 26, 2022, 12:06pm UTC](https://community.freefem.org/t/how-can-we-print-plot-show-coordinate-values-to-the-corners-of-the-mesh/2025/1 "2022-09-26T12:06:33Z")

</div>

Hello all,

I would like to name the corners of the mesh and print something (point name or coordinates) like the image below (marked yellow). Is it possible? How can I do that?

Thank you.

 ![eaa1](https://canada1.discourse-cdn.com/flex030/uploads/freefem/original/2X/f/f758226c5c23ce4e8165f91f14c209402e425519.jpeg)

```auto
1 // Parameters
 2 real error = 0.1;
 3 
 4 // Mesh
 5 border ba(t=0, 1){x=t; y=0; label=1;}
 6 border bb(t=0, 0.5){x=1; y=t; label=1;}
 7 border bc(t=0, 0.5){x=1-t; y=0.5; label=1;}
 8 border bd(t=0.5, 1){x=0.5; y=t; label=1;}
 9 border be(t=0.5, 1){x=1-t; y=1; label=1;}
10 border bf(t=0, 1){x=0; y=1-t; label=1;}
11 mesh Th = buildmesh(ba(6) + bb(4) + bc(4) + bd(4) + be(4) + bf(6));
12 
13 // Fespace
14 fespace Vh(Th, P1);
15 Vh u, v;
16 
17 // Function
18 func f = 1;
19 
20 // Problem
21 problem Poisson(u, v, solver=CG, eps=1.e-6)
22 = int2d(Th)(
23 dx(u)*dx(v)
24 + dy(u)*dy(v)
25 )
26 - int2d(Th)(
27 f*v
28 )
29 + on(1, u=0);
30 
31 // Adaptmesh loop
32 for (int i = 0; i < 4; i++){
33 Poisson;
34 Th = adaptmesh(Th, u, err=error);
35 error = error/2;
36 }
37 
38 // Plot
39 plot(u);

```

---

<div class="post-metadata">

**Author:** ![frederichecht](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/frederichecht/32/15_2.png) [@frederichecht](https://community.freefem.org/u/frederichecht)\
**Post date:** [September 26, 2022, 5:24pm UTC](https://community.freefem.org/t/how-can-we-print-plot-show-coordinate-values-to-the-corners-of-the-mesh/2025/2 "2022-09-26T17:24:03Z")

</div>

Sorry, not to day. the graphic part of freefem is very very tiny.

---

<div class="post-metadata">

**Author:** ![mhy622](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/mhy622/32/1349_2.png) [@mhy622](https://community.freefem.org/u/mhy622)\
**Post date:** [September 26, 2022, 5:49pm UTC](https://community.freefem.org/t/how-can-we-print-plot-show-coordinate-values-to-the-corners-of-the-mesh/2025/4 "2022-09-26T17:49:31Z")

</div>

So I can not do that in freefem. Thank you sir for the information and reply. 🙏
