Difference between revisions of "SetPerspective 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}} | ||
− | ;SetPerspective | + | ;SetPerspective( <Text> ) |
Changes the layout and visibility of Views. The text parameter describes the desired layout. The text should be a valid 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 <code><nowiki> /</nowiki></code>. | Changes the layout and visibility of Views. The text parameter describes the desired layout. The text should be a valid 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 <code><nowiki> /</nowiki></code>. | ||
{| class="pretty" | {| class="pretty" |
Revision as of 16:15, 7 October 2017
- SetPerspective( <Text> )
Changes the layout and visibility of Views. The text parameter describes the desired layout. The text should be a valid 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 | Algebra |
B | Probability Calculator |
C | CAS |
D | Graphics 2 |
G | Graphics |
L | Construction Protocol |
P | Properties |
R | Data analysis (Desktop only) |
S | Spreadsheet |
T | 3D Graphics |
Example:
SetPerspective["G"]
makes only the Graphics View visibleSetPerspective["AGS"]
makes Algebra, Graphics and Spreadsheet View visible, aligned horizontallySetPerspective["S/G"]
makes Spreadsheet and Graphics View visible with Spreadsheet on top and Graphics View belowSetPerspective["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
Instead of these expressions 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.
Notes:
- See also SetActiveView command.