# Save figure with plotMPI

**URL:** <https://community.freefem.org/t/save-figure-with-plotmpi/1217>\
**Category:** General Discussion\
**Created:** [September 22, 2021, 9:17am UTC](https://community.freefem.org/t/save-figure-with-plotmpi/1217 "2021-09-22T09:17:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yhao](https://avatars.discourse-cdn.com/v4/letter/y/5fc32e/32.png) [@yhao](https://community.freefem.org/u/yhao)\
**Post date:** [September 22, 2021, 9:17am UTC](https://community.freefem.org/t/save-figure-with-plotmpi/1217/1 "2021-09-22T09:17:44Z")

</div>

Dear all,

I am now working on the neo-Hookean model in parallelization. Is there any way to save the figure plot by `plotMPI`?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![prj](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@prj](https://community.freefem.org/u/prj)\
**Post date:** [September 22, 2021, 9:31am UTC](https://community.freefem.org/t/save-figure-with-plotmpi/1217/2 "2021-09-22T09:31:57Z")

</div>

You can either use the command-line parameter `-fglut file`, and after the script has run, do on your terminal `ffglut file`, or do directly in your `.edp`

```auto
macro params()cmm = "Global solution", ps = "file.eps"// EOM
plotMPI(Th, u, Pk, def, real, params)

```

For post-processing, I would highly suggest that you use ParaView instead.

---

<div class="post-metadata">

**Author:** ![yhao](https://avatars.discourse-cdn.com/v4/letter/y/5fc32e/32.png) [@yhao](https://community.freefem.org/u/yhao)\
**Post date:** [September 22, 2021, 10:17am UTC](https://community.freefem.org/t/save-figure-with-plotmpi/1217/3 "2021-09-22T10:17:33Z")

</div>

I see. Thank you for your help and suggestion.
