[Gmsh] Zoom along a single dimension

Torquil Macdonald Sørensen torquil at gmail.com
Wed Sep 2 14:28:25 CEST 2015


Hi!

I have a POS-file containing scalar data for each point on a square
[0,1]^2. The data values are in [0, 0.07]. To view it as a surface plot
above the xy-plane, I use

View.NormalRaise = 10

However, the tick marks on the z-axis then no longer represent the
correct data values (they are now 10 times too large). If I do
View.NormalRaise = 1 in order to have correct tick values, the resulting
surface plot is too flat to be useful.

Is there a way to change the tickmarks on the z-axis so that its value
range is [0, 0.1], while being visually of the same size as the x- and
y-axes which represent the larger value range [0,1]?

In the case of View.NormalRaise = 10, it is easy to relate to the real
values by keeping in mind that I should divide what I see by 10, but in
other cases different values are needed which make this difficult.

Best regards
Torquil Sørensen