[Gmsh] labels - i presume that this is basic question

Christophe Geuzaine cgeuzaine at ulg.ac.be
Fri Aug 15 15:48:37 CEST 2008


Vladimir Pavlov wrote:
> hello to all
> 
> i have .pos file with node coordinates, it looks like this:
> 
>  View "nodes" {
> SP(17.581,28.585,12.623){1};
> SP(17.738,28.62,12.896){1};
> SP(17.47,28.392,13.224){1};
> SP(17.578,28.398,13.395){1};
> SP(17.624,28.322,13.675){1};
> SP(17.588,28.109,13.953){1};
> SP(17.74,27.633,14.55){1};
> SP(17.82,27.514,14.679){1};
> SP(18.05,26.927,15.139){1};
> SP(18.62,26.434,15.534){1};
> 
> ...
> 
> i wander is there a way that i can set the label for each node, so that 
> i can view the node number in gmsh
> 

There are no node numbers in the .pos format... (If you want to display 
the *value* associated with the point as a number, just select "Numeric 
values" for Intervals type in Tools->Options->View.)

If you want to associate a post-processing dataset with a real mesh 
(with numbered nodes and elements), you should use the .msh format.


> thank you very much
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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