SetPerspective 指令

来自GeoGebra Manual
跳转至: 导航搜索
Accessories dictionary.png
本页为官方文件,一般使用者无法修改,若有任何误谬,请与官方联络。如欲编辑,请至本页的开放版


SetPerspective( <文字> )

更改版面配置与视区的显示状态。<文字> 参数可以是完整的版面配置描述、要变更的单一视区描述,或是其中一个标准格局的代码。

完整的版面配置描述

可使用表示式来描述视区位置,以更改整体的版面配置。每个视区的代表字母如下表。视区的水平排列以相对应的字母并排表示,垂直排列以除号 / 表示。

字母 视区
A Menu view algebra.svg 代数区
B Menu view probability.svg 几率计算机
C Menu view cas.svg 运算区
D Menu view graphics2.svg 副绘图区
G Menu view graphics.svg 主绘图区
L Menu view construction protocol.svg 构图按本
P Menu-options.svg 属性
R 资料分析(仅限桌机版)
S Menu view spreadsheet.svg 试算表
T Perspectives algebra 3Dgraphics.svg 3D 绘图区
范例:  
  • SetPerspective("G") 只有显示 Menu view graphics.svg 绘图区
  • SetPerspective("AGS") 显示 Menu view algebra.svg 代数区Menu view graphics.svg 绘图区Menu view spreadsheet.svg 试算表,并水平排列。
  • SetPerspective("S/G") 显示 Menu view spreadsheet.svg 试算表Menu view graphics.svg 绘图区试算表在上而绘图区在下。
  • SetPerspective("S/(GA)") 与前一个范例相似,但萤幕的下半部分由 Menu view graphics.svg 绘图区在左且 Menu view algebra.svg 代数区在右的方式构成。


变更单一视区

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 Tablefor 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


标准格局

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.

备注:
© 2024 International GeoGebra Institute