# Change the palette when viewing via "medit"

**URL:** <https://community.freefem.org/t/change-the-palette-when-viewing-via-medit/3300>\
**Category:** General Discussion\
**Created:** [June 10, 2024, 12:15pm UTC](https://community.freefem.org/t/change-the-palette-when-viewing-via-medit/3300 "2024-06-10T12:15:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anis](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@Anis](https://community.freefem.org/u/Anis)\
**Post date:** [June 10, 2024, 12:15pm UTC](https://community.freefem.org/t/change-the-palette-when-viewing-via-medit/3300/1 "2024-06-10T12:15:33Z")

</div>

Hello,  
After saving the solutions, I need to view them via  
medit in a terminal window. In order to compare the solutions, I would have to set the same palette for all solutions. Do you know of a command or option that allows you to modify the palette?  
Here is an example :

load “medit”  
mesh Th = square(10, 10, [2_x-1, 2_y-1]);  
fespace Vh(Th, P1);  
Vh u=2-x_x-y_y;  
savesol(“u.sol”,Th, u, order=1);  
savemesh(Th,“u.mesh”);  
medit(“u”, Th, u);

Thank you for your help.

---

<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:** [June 12, 2024, 8:10am UTC](https://community.freefem.org/t/change-the-palette-when-viewing-via-medit/3300/2 "2024-06-12T08:10:51Z")

</div>

The doc of medit is

> **[RT-0253.pdf](https://www.ljll.fr/frey/publications/RT-0253.pdf)**
>
> 309.26 KB

but I thing it is not possible.
