[Gmsh] invert color map in multiple wiew

Christophe Geuzaine cgeuzaine at ulg.ac.be
Thu Apr 8 14:00:15 CEST 2010


On 08/04/10 08:47, Umut Tabak wrote:
> Dear all,
> I was using gmsh to process some of my results, the attached figure
> shows the result. Is there a way to invert the colors assigned to the
> regions so that one can make a comparison on the same color for the
> regions. The left column is the real values and the right column is the
> result of my research ;)
>
> In this figure the mode representations are close but colors seem
> inverted if they could be represented in the same color scheme,
> comparisons would be easier. Any pointers?

Sure: in the options of the view, go to the "Map" tab, and press "i". 
(or in a script, use "View.ColormapSwap=1;")

> Best regards,
> Umut
>
>
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh


-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine