[Gmsh] mesh and colors

Christophe Geuzaine c.geuzaine at ulg.ac.be
Wed Dec 15 02:42:06 CET 2004


Aimery ASSIRE wrote:
> Hi,
>  
> I have a mesh with 2 goups of elements. I have a script that 
> affect different colors to each group.
> The script and the gmsh option-file work fine with gmsh version 1.53.2 
> (windows) but not with version 1.56.2.
>  
> Files are here :
> http://a.assire.free.fr/TEMP/gmsh.zip
>  
> If someone can help...
>  

The "Carousel" now uses the formula "abs(number % 10)" to color the
regions, which leads to the same choice for your region numbers (100 and
110).

You can force a color for a specific region with:

Color Black { Surface {100}; }
Color Red { Surface {110}; }

Christophe

-- 
Christophe Geuzaine
Applied and Computational Mathematics, Caltech
geuzaine at acm.caltech.edu - http://geuz.org