[Gmsh] max of the View Custom Range

Andre Antunes andre.antunes at tuebingen.mpg.de
Wed Sep 17 15:56:39 CEST 2014


Dear community

Is it possible to calculate the max of the custom range mode for a certain visibility from a .geo file?

I would like to select a certain label, find the maximum of in that region and save the image file. 

I can almost do that with 

Hide "*";
Show {Volume{2};}
View[0].Max = 0.05;
Draw;
Print "test.png";

But how could I calculate the View[0].Max automatically?
(Equivalent in the GUI to select "Custom" and clicking "Max".)

Thank you, 
Andre