“SetPerspective 指令”的版本间的差异

来自GeoGebra Manual
跳转至: 导航搜索
 
第48行: 第48行:
  
 
===變更單一視區===
 
===變更單一視區===
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.
+
''' 視區'''名稱(字母)前加上符號 <code><nowiki>+</nowiki></code> <code><nowiki>-</nowiki></code> ,可開啟或關閉單一''' 視區''' 。若是用在 GeoGebra  經典版以外的 App(例如:繪圖計算機),可使用 <code>Tools</code> <code>Table</code> 來代表'''工具'''和'''表格'''側欄分頁。
 
{{examples|1=&nbsp;
 
{{examples|1=&nbsp;
*<code>SetPerspective("+D")</code> adds ''Graphics View'' 2 to the currently displayed ones, on the right
+
*<code>SetPerspective("+D")</code> 在目前的版面配置右方插入''' 副繪圖區'''。
*<code>SetPerspective("-D")</code> removes ''Graphics View'' 2 from the currently displayed ones
+
*<code>SetPerspective("-D")</code> 從目前的版面配置移除''' 副繪圖區'''
*<code>SetPerspective("+Tools")</code> opens the sidebar in Graphing Calculator and switches it to tools tab
+
*<code>SetPerspective("+Tools")</code> 在繪圖計算機中開啟側欄並切換到'''工具'''分頁。
*<code>SetPerspective("+Table")</code> opens the sidebar in Graphing Calculator and switches it to table of values
+
*<code>SetPerspective("+Table")</code> 在繪圖計算機中開啟側欄並切換到'''表格'''分頁。
*<code>SetPerspective("-Tools")</code> closes the sidebar in Graphing Calculater, no matter which tab is selected
+
*<code>SetPerspective("-Tools")</code> 在繪圖計算機中關閉側欄(無論目前是在哪一個分頁)。
 
}}
 
}}
  
 
===標準格局===
 
===標準格局===
You may also use a text containing a single digit to use a predefined perspective:
+
也可以用一個包含單一數值的文字來使用內建的[[格局]]:
 
{| class="pretty"
 
{| class="pretty"
 
|-
 
|-
!Text
+
! 文字
!Perspective
+
! 格局
 
|-
 
|-
 
|"1"
 
|"1"
|Algebra And Graphics
+
| 代數
 
|-
 
|-
 
|"2"
 
|"2"
|Geometry
+
| 幾何
 
|-
 
|-
 
|"3"
 
|"3"
|Spreadsheet
+
| 試算表
 
|-
 
|-
 
|"4"
 
|"4"
|CAS
+
| 運算
 
|-
 
|-
 
|"5"
 
|"5"
|3D Graphics
+
|3D 繪圖
 
|-
 
|-
 
|"6"
 
|"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]].
+
以上這些大致分別對應到 "AG" "G" "SG" "CG" "AT" "B" ,但也有可能會影響[[ 指令列]] 的顯示和[[ 工具列]] 的內容。
  
 
{{Notes|1=
 
{{Notes|1=
:*See also [[SetActiveView Command|SetActiveView]]  command.}}
+
:* 請參閱 [[SetActiveView_指令|SetActiveView]]  指令。}}

2024年1月5日 (五) 09:18的最新版本

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 代數區在右的方式構成。


變更單一視區

視區名稱(字母)前加上符號 +-,可開啟或關閉單一視區。若是用在 GeoGebra 經典版以外的 App(例如:繪圖計算機),可使用 ToolsTable 來代表工具表格側欄分頁。

範例:  
  • SetPerspective("+D") 在目前的版面配置右方插入副繪圖區
  • SetPerspective("-D") 從目前的版面配置移除副繪圖區
  • SetPerspective("+Tools") 在繪圖計算機中開啟側欄並切換到工具分頁。
  • SetPerspective("+Table") 在繪圖計算機中開啟側欄並切換到表格分頁。
  • SetPerspective("-Tools") 在繪圖計算機中關閉側欄(無論目前是在哪一個分頁)。


標準格局

也可以用一個包含單一數值的文字來使用內建的格局

文字 格局
"1" 代數
"2" 幾何
"3" 試算表
"4" 運算
"5" 3D 繪圖
"6" 機率

以上這些大致分別對應到 "AG"、"G"、"SG"、"CG"、"AT" 和 "B",但也有可能會影響指令列的顯示和工具列的內容。

備註:
© 2024 International GeoGebra Institute