SetAxesRatio Command
- SetAxesRatio( <Number>, <Number> )
-
Changes the axes ratio of active Graphics View so that X units on x-axis correspond to the same number of pixels as Y units on y-axis and point (0,0) stays on its coordinates. If a unitary ratio is used, the related axis is fixed with the unit value, and the other one is adjusted as indicated.
-
SetAxesRatio(1,2)
fixes the x-axis and compresses the y-axis -
SetAxesRatio(2,1)
fixes the y-axis and shrinks the x-axis.
- SetAxesRatio( <Number>, <Number>, <Number> )
-
Similar to above syntax, works with 3D Graphics View.