“SetPerspective 指令”的版本间的差异
来自GeoGebra Manual
(建立内容为“<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|scripting}} ;SetPerspective( <Text> ) Changes the layout and visibility of ''Views''. The text paramet…”的新页面) |
|||
第1行: | 第1行: | ||
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|scripting}} | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|scripting}} | ||
− | ;SetPerspective( < | + | ;SetPerspective( < 文字> ) |
− | + | 更改版面配置與''' 視區'''的顯示狀態。<文字> 參數可以是完整的版面配置描述、要變更的單一視區描述,或是其中一個標準格局的代碼。 | |
− | === | + | === 完整的版面配置描述=== |
− | + | 可使用表示式來描述視區位置,以更改整體的版面配置。每個''' 視區''' 的代表字母如下表。水平排列視區以相對應的字母並排表示,垂直排列以除號 <code><nowiki> /</nowiki></code> 表示。 | |
{| class="pretty" | {| class="pretty" | ||
− | ! | + | ! 字母 |
− | ! | + | ! 視區 |
|- | |- | ||
|A | |A | ||
− | |[[File:Menu view algebra.svg|link=|16px]] [[ | + | |[[File:Menu view algebra.svg|link=|16px]] [[ 代數區]] |
|- | |- | ||
|B | |B | ||
− | |[[File:Menu view probability.svg|link=|18px]] [[ | + | |[[File:Menu view probability.svg|link=|18px]] [[ 機率計算機]] |
|- | |- | ||
|C | |C | ||
− | |[[File:Menu view cas.svg|link=|16px]] [[ | + | |[[File:Menu view cas.svg|link=|16px]] [[ 運算區]] |
|- | |- | ||
|D | |D | ||
− | |[[File:Menu view graphics2.svg|link=|16px]] [[ | + | |[[File:Menu view graphics2.svg|link=|16px]] [[ 繪圖區| 副繪圖區]] |
|- | |- | ||
|G | |G | ||
− | |[[File:Menu view graphics.svg|link=|16px]] [[ | + | |[[File:Menu view graphics.svg|link=|16px]] [[ 繪圖區| 主繪圖區]] |
|- | |- | ||
|L | |L | ||
− | |[[File:Menu view construction protocol.svg|link=|16px]] [[ | + | |[[File:Menu view construction protocol.svg|link=|16px]] [[ 構圖按本]] |
|- | |- | ||
|P | |P | ||
− | |[[File:Menu-options.svg|link=|16px]] [[ | + | |[[File:Menu-options.svg|link=|16px]] [[ 屬性]] |
|- | |- | ||
|R | |R | ||
− | | | + | | 資料分析(僅限桌機版) |
|- | |- | ||
|S | |S | ||
− | |[[File:Menu view spreadsheet.svg|link=|16px]] [[ | + | |[[File:Menu view spreadsheet.svg|link=|16px]] [[ 試算表]] |
|- | |- | ||
|T | |T | ||
− | |[[File:Perspectives algebra 3Dgraphics.svg|link=|16px]] [[ | + | |[[File:Perspectives algebra 3Dgraphics.svg|link=|16px]] [[3D_繪圖區|3D 繪圖區]] |
|} | |} | ||
{{examples|1= | {{examples|1= | ||
− | * <code>SetPerspective("G")</code> | + | * <code>SetPerspective("G")</code> 只有顯示 [[File:Menu view graphics.svg|link=|16px]] ''' 繪圖區'''。 |
− | * <code>SetPerspective("AGS")</code> | + | * <code>SetPerspective("AGS")</code> 顯示 [[File:Menu view algebra.svg|link=|16px]] ''' 代數區'''、[[File:Menu view graphics.svg|link=|16px]] '' 繪圖區'''和 [[File:Menu view spreadsheet.svg|link=|16px]] '' 試算表''',並水平排列。 |
− | * <code>SetPerspective("S/G")</code> | + | * <code>SetPerspective("S/G")</code> 顯示 [[File:Menu view spreadsheet.svg|link=|16px]] '''試算表''' 和 [[File:Menu view graphics.svg|link=|16px]] '''繪圖區''' ,''' 試算表''' 在上而'''繪圖區'''在下。 |
− | * <code>SetPerspective("S/(GA)")</code> | + | * <code>SetPerspective("S/(GA)")</code> 與前一個範例相似,但螢幕的下半部分由 [[File:Menu view graphics.svg|link=|16px]] ''' 繪圖區'''在左且 [[File:Menu view algebra.svg|link=|16px]] '''代數區''' 在右的方式構成。 |
}} | }} | ||
− | === | + | === 變更單一視區=== |
To open or close individual ''Views'', add the symbols <code><nowiki>+</nowiki></code> or <code><nowiki>-</nowiki></code> before the ''View'' name (letter), respectively. In apps other than GeoGebra Classic (e.g. the Graphing Calculator) you can also use <code>Tools</code> and <code>Table</code>for the tools and table of values. | To open or close individual ''Views'', add the symbols <code><nowiki>+</nowiki></code> or <code><nowiki>-</nowiki></code> before the ''View'' name (letter), respectively. In apps other than GeoGebra Classic (e.g. the Graphing Calculator) you can also use <code>Tools</code> and <code>Table</code>for the tools and table of values. | ||
{{examples|1= | {{examples|1= | ||
第57行: | 第57行: | ||
}} | }} | ||
− | === | + | === 標準格局=== |
You may also use a text containing a single digit to use a predefined perspective: | You may also use a text containing a single digit to use a predefined perspective: | ||
{| class="pretty" | {| class="pretty" |
2024年1月5日 (五) 08:50的版本
本页为官方文件,一般使用者无法修改,若有任何误谬,请与官方联络。如欲编辑,请至本页的开放版。
- SetPerspective( <文字> )
更改版面配置与视区的显示状态。<文字> 参数可以是完整的版面配置描述、要变更的单一视区描述,或是其中一个标准格局的代码。
完整的版面配置描述
可使用表示式来描述视区位置,以更改整体的版面配置。每个视区的代表字母如下表。水平排列视区以相对应的字母并排表示,垂直排列以除号 /
表示。
字母 | 视区 |
---|---|
A | 代数区 |
B | 几率计算机 |
C | 运算区 |
D | 副绘图区 |
G | 主绘图区 |
L | 构图按本 |
P | 属性 |
R | 资料分析(仅限桌机版) |
S | 试算表 |
T | 3D 绘图区 |
范例:
SetPerspective("G")
只有显示 绘图区。SetPerspective("AGS")
显示 代数区、 绘图区和 试算表,并水平排列。SetPerspective("S/G")
显示 试算表和 绘图区,试算表在上而绘图区在下。SetPerspective("S/(GA)")
与前一个范例相似,但萤幕的下半部分由 绘图区在左且 代数区在右的方式构成。
变更单一视区
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 rightSetPerspective("-D")
removes Graphics View 2 from the currently displayed onesSetPerspective("+Tools")
opens the sidebar in Graphing Calculator and switches it to tools tabSetPerspective("+Table")
opens the sidebar in Graphing Calculator and switches it to table of valuesSetPerspective("-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.
备注:
- See also SetActiveView command.