Difference between revisions of "SetAxesRatio Command"
From GeoGebra Manual
m |
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)") |
||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|scripting}} | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|scripting}} | ||
− | ;SetAxesRatio | + | ;SetAxesRatio( <Number>, <Number> ) |
:Changes the axes ratio of active [[File:Menu view graphics.svg|link=|16px]] [[Graphics View]] so that X units on [[Lines and Axes#Axes|x-axis]] correspond to the same number of pixels as Y units on y-axis and point (0,0) stays on its coordinates. | :Changes the axes ratio of active [[File:Menu view graphics.svg|link=|16px]] [[Graphics View]] so that X units on [[Lines and Axes#Axes|x-axis]] correspond to the same number of pixels as Y units on y-axis and point (0,0) stays on its coordinates. | ||
− | ;SetAxesRatio | + | ;SetAxesRatio( <Number>, <Number>, <Number> ) |
:Similar to above syntax, works with [[File:Perspectives algebra 3Dgraphics.svg|link=|16px]] [[3D Graphics View]]. | :Similar to above syntax, works with [[File:Perspectives algebra 3Dgraphics.svg|link=|16px]] [[3D Graphics View]]. |
Revision as of 17:16, 7 October 2017
- 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.
- SetAxesRatio( <Number>, <Number>, <Number> )
- Similar to above syntax, works with 3D Graphics View.