Changeset 4685
- Timestamp:
- Nov 10, 2014 4:06:51 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/vtkheightmapviewer.tcl
r4669 r4685 938 938 InitSettings -isheightmap -background 939 939 940 # Let's see how this goes. I think it's preferable to overloading the 941 # axis title with the exponent. 942 SendCmd "axis exp 0 0 0 1" 940 # Setting a custom exponent and label format for axes is causing 941 # a problem with rounding. Near zero ticks aren't rounded by 942 # the %g format. The VTK CubeAxes seem to currently work best 943 # when allowed to automatically set the exponent and precision 944 # based on the axis ranges. This does tend to result in less 945 # visual clutter, so I think it is best to use the automatic 946 # settings by default. We can test more fine-grained 947 # controls on the axis settings tab if necessary. 948 # -Leif 949 #SendCmd "axis exp 0 0 0 1" 943 950 944 951 SendCmd "axis lrot z 90" … … 1041 1048 if { $_reset } { 1042 1049 SendCmd "axis tickpos outside" 1043 foreach axis { x y z } { 1044 SendCmd "axis lformat $axis %g" 1045 } 1050 #SendCmd "axis lformat all %g" 1046 1051 1047 1052 foreach axis { x y z } { … … 1366 1371 "-axisminorticks" { 1367 1372 set bool $_settings($what) 1368 foreach axis { x y z } { 1369 SendCmd "axis minticks ${axis} $bool" 1370 } 1373 SendCmd "axis minticks all $bool" 1371 1374 } 1372 1375 "-axisvisible" { … … 2067 2070 -font "Arial 9" 2068 2071 2069 2070 2072 label $inner.mode_l -text "Mode" -font "Arial 9" 2071 2073
Note: See TracChangeset
for help on using the changeset viewer.