SetPerspective Command
- SetPerspective( <Text> )
-
Changes the layout and visibility of Views. The text parameter is either the full description of the layout, description of a single view you want to change or ID of one of the standard perspectives.
Full layout description
To change the whole layout you can describe the view positions using an expression. Views are represented by variables
(letters): the horizontal arrangement of Views is represented by the related letters juxtaposition, and their vertical
arrangement by a division symbol /
.
Letter | View |
---|---|
A |
|
B |
|
C |
|
D |
|
G |
|
L |
|
P |
|
R |
Data analysis (Desktop only) |
S |
|
T |
-
SetPerspective("G")
makes only the Graphics View visible -
SetPerspective("AGS")
makes Algebra, Graphics and Spreadsheet View visible, aligned horizontally -
SetPerspective("S/G")
makes Spreadsheet and Graphics View visible with Spreadsheet on top and Graphics View below -
SetPerspective("S/(GA)")
is similar as above, the bottom part of the screen consists of Graphics View on the left and Algebra View on the right
Single view change
To open or close individual Views, add the symbols +
or -
before the View name (letter), respectively.
In apps other than GeoGebra Classic (e.g. the Graphing Calculator) you can also use Tools
and `Table`for the
tools and table of values.
-
SetPerspective("+D")
adds Graphics View 2 to the currently displayed ones, on the right -
SetPerspective("-D")
removes Graphics View 2 from the currently displayed ones -
SetPerspective("+Tools")
opens the sidebar in Graphing Calculator and switches it to tools tab -
SetPerspective("+Table")
opens the sidebar in Graphing Calculator and switches it to table of values -
SetPerspective("-Tools")
closes the sidebar in Graphing Calculater, no matter which tab is selected
Standard perspectives
You may also use a text containing a single digit to use a predefined perspective:
Text | Perspective |
---|---|
"1" |
Algebra And Graphics |
"2" |
Geometry |
"3" |
Spreadsheet |
"4" |
CAS |
"5" |
3D Graphics |
"6" |
Probability |
These roughly correspond to "AG", "G", "SG", "CG", "AT" and "B" respectively, but may also affect the display of Input Bar and content of Toolbar.
|