https://wiki.geogebra.org/s/zh/index.php?title=BarChart_%E6%8C%87%E4%BB%A4&feed=atom&action=history
BarChart 指令 - 版本历史
2024-03-28T20:34:41Z
本wiki的该页面的版本历史
MediaWiki 1.35.1
https://wiki.geogebra.org/s/zh/index.php?title=BarChart_%E6%8C%87%E4%BB%A4&diff=6868&oldid=prev
2023年11月26日 (日) 12:49 Nuhero
2023-11-26T12:49:47Z
<p></p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="zh">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">←上一版本</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">2023年11月26日 (日) 12:49的版本</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l15" >第15行:</td>
<td colspan="2" class="diff-lineno">第15行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:使用 <數據串列> 以及相對應的 <次數串列> 繪製一個長條圖,並指定 <長條寬度>。 </div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:使用 <數據串列> 以及相對應的 <次數串列> 繪製一個長條圖,並指定 <長條寬度>。 </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:{{Example|1=<div></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:{{Example|1=<div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>:*<code>BarChart({10, 11, 12, 13, 14}, {5, 8, 12, 0, 1}, 0.5)</code> <del class="diffchange diffchange-inline">leaves gaps between bars.</del></div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>:*<code>BarChart({10, 11, 12, 13, 14}, {5, 8, 12, 0, 1}, 0.5)</code> <ins class="diffchange diffchange-inline">會在長條之間留下空隙。</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>:*<code>BarChart({10, 11, 12, 13, 14}, {5, 8, 12, 0, 1}, 0)</code> <del class="diffchange diffchange-inline">produces a line </del>graph<del class="diffchange diffchange-inline">.</del></div>}}</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>:*<code>BarChart({10, 11, 12, 13, 14}, {5, 8, 12, 0, 1}, 0)</code> <ins class="diffchange diffchange-inline">產生一個線圖(line </ins>graph <ins class="diffchange diffchange-inline">)。</ins></div>}}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>;BarChart( <起始值>, <結束值>, &lt;高度串列> )</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>;BarChart( <起始值>, <結束值>, &lt;高度串列> )</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>:<del class="diffchange diffchange-inline">Creates a bar chart over the given interval: the number of bars is determined by the length of the list, whose elements are the heights of the bars. </del></div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>: <ins class="diffchange diffchange-inline">在 <起始值> 到 <結束值> 這區間繪製長條圖,其中 <高度串列> 的元素個數決定長條數量,元素值決定相對應的長條高度。 </ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>:{{Example|1=<code>BarChart(10, 20, {1, 2, 3, 4, 5})</code> <del class="diffchange diffchange-inline">gives you a bar chart with five bars of specified height in the interval </del>[10, 20]<del class="diffchange diffchange-inline">.</del>}}</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>:{{Example|1=<code>BarChart(10, 20, {1, 2, 3, 4, 5})</code> <ins class="diffchange diffchange-inline">在區間 </ins>[10, 20] <ins class="diffchange diffchange-inline">繪製一個長條圖,包含五根長條,且長條高度為 1 到 5。</ins>}}</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>;BarChart( <起始值>, <結束值> , <運算式>, <變數名>, <起始數>, <結束數> )</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>;BarChart( <起始值>, <結束值> , <運算式>, <變數名 <ins class="diffchange diffchange-inline">k</ins>>, <起始數 <ins class="diffchange diffchange-inline">c</ins>>, <結束數 <ins class="diffchange diffchange-inline">d</ins>> )</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>:<del class="diffchange diffchange-inline">Creates a bar chart over the given interval (Start Value, End Value), that calculates the bars’ heights using the expression whose variable </del>''k'' <del class="diffchange diffchange-inline">varies from number ''</del>c'' <del class="diffchange diffchange-inline">to number </del>''d<del class="diffchange diffchange-inline">''. </del></div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>: <ins class="diffchange diffchange-inline">在 <起始值> 到 <結束值> 這區間繪製長條圖,並將索引 </ins>''k'' <ins class="diffchange diffchange-inline">從 <起始數 </ins>c<ins class="diffchange diffchange-inline">> 遞增 </ins>''<ins class="diffchange diffchange-inline">1</ins>'' <ins class="diffchange diffchange-inline">到 <結束數 </ins>d<ins class="diffchange diffchange-inline">>,依次代入 <運算式> 計算相對應的長條高度。 </ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>:{{Example| 1=<del class="diffchange diffchange-inline">If </del>''p = 0.1''<del class="diffchange diffchange-inline">, </del>''q = 0.9''<del class="diffchange diffchange-inline">, and </del>''n = 10'' <del class="diffchange diffchange-inline">are numbers, then </del><code>BarChart(-0.5, n + 0.5, BinomialCoefficient(n,k) * p^k * q^(n-k), k, 0, n)</code> <del class="diffchange diffchange-inline">gives you a bar chart in the interval </del>[''-0.5, n+0.5'']<del class="diffchange diffchange-inline">. The heights of the bars depend on the probabilities calculated using the given expression.</del>}}</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>:{{Example| 1= <ins class="diffchange diffchange-inline">假設數值 </ins>''p = 0.1'' <ins class="diffchange diffchange-inline">,</ins>''q = 0.9'' <ins class="diffchange diffchange-inline">以及 </ins>''n = 10'' <ins class="diffchange diffchange-inline">,則 </ins><code>BarChart(-0.5, n + 0.5, BinomialCoefficient(n,k) * p^k * q^(n-k), k, 0, n)</code> <ins class="diffchange diffchange-inline">會在區間 </ins>[''-0.5, n+0.5''] <ins class="diffchange diffchange-inline">繪製一個長條圖,並利用運算式計算出機率來指定各個長條的高度。</ins>}}</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>;BarChart( <起始值>, <結束值>, <運算式>, <變數名>, <起始數>, <結束數>, <遞增值> ): <del class="diffchange diffchange-inline">Creates a bar chart over the given interval (Start Value, End Value), the bars’ heights are calculated using the given expression in which the variable </del>''k'' <del class="diffchange diffchange-inline">varies from number ''</del>c'' <del class="diffchange diffchange-inline">to number </del>''d<del class="diffchange diffchange-inline">'' using step width ''s''.</del></div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>;BarChart( <起始值>, <結束值>, <運算式>, <變數名 <ins class="diffchange diffchange-inline">k</ins>>, <起始數 <ins class="diffchange diffchange-inline">c</ins>>, <結束數 <ins class="diffchange diffchange-inline">d</ins>>, <遞增值 <ins class="diffchange diffchange-inline">s</ins>> ): <ins class="diffchange diffchange-inline">在 <起始值> 到 <結束值> 這區間繪製長條圖,並將索引 </ins>''k'' <ins class="diffchange diffchange-inline">從 <起始數 </ins>c<ins class="diffchange diffchange-inline">> 遞增 </ins>''<ins class="diffchange diffchange-inline">s</ins>'' <ins class="diffchange diffchange-inline">到 <結束數 </ins>d<ins class="diffchange diffchange-inline">>,依次代入 <運算式> 計算相對應的長條高度。</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>{{Note|<del class="diffchange diffchange-inline">It is possible to specify a different color/filling for each bar in the </del>[[File:Menu-options.svg|link=|16px]] [[<del class="diffchange diffchange-inline">Object Properties</del>]]<del class="diffchange diffchange-inline">.</del>}}</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{Note| <ins class="diffchange diffchange-inline">可以在 </ins>[[File:Menu-options.svg|link=|16px]] [[ <ins class="diffchange diffchange-inline">物件屬性</ins>]] <ins class="diffchange diffchange-inline">指定每根長條的顏色或填滿度。</ins>}}</div></td></tr>
</table>
Nuhero
https://wiki.geogebra.org/s/zh/index.php?title=BarChart_%E6%8C%87%E4%BB%A4&diff=6866&oldid=prev
2023年11月26日 (日) 11:52 Nuhero
2023-11-26T11:52:31Z
<p></p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="zh">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">←上一版本</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">2023年11月26日 (日) 11:52的版本</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >第1行:</td>
<td colspan="2" class="diff-lineno">第1行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|chart}}</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|chart}}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>;BarChart( <數據串列>, &lt;次數串列> )</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>;BarChart( <數據串列>, &lt;次數串列> )</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>:<del class="diffchange diffchange-inline">Creates a bar chart using the list of data with corresponding frequencies.</del></div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>: <ins class="diffchange diffchange-inline">使用 <數據串列> 以及相對應的 <次數串列> 繪製一個長條圖。</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>:{{Note|<del class="diffchange diffchange-inline">The numbers in the list of raw data need to be arranged in increasing order.</del>}}</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>:{{Note|<ins class="diffchange diffchange-inline"><(原始)數據串列> 中的數值必須從小到大排序。</ins>}}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:{{Example|1=<div> </div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:{{Example|1=<div> </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:*<code>BarChart({10, 11, 12, 13, 14}, {5, 8, 12, 0, 1})</code></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:*<code>BarChart({10, 11, 12, 13, 14}, {5, 8, 12, 0, 1})</code></div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l8" >第8行:</td>
<td colspan="2" class="diff-lineno">第8行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:*<code>BarChart({0.3, 0.4, 0.5, 0.6}, {12, 33, 13, 4})</code></div>}}</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:*<code>BarChart({0.3, 0.4, 0.5, 0.6}, {12, 33, 13, 4})</code></div>}}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>;BarChart( <原始數據串列>, <長條寬度>, <垂直比例因數(選用)> )</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>;BarChart( <原始數據串列>, <長條寬度>, <垂直比例因數(選用)> )</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>:<del class="diffchange diffchange-inline">Creates a bar chart using the given raw data; the bars have the given width and the height of the bars depends on the vertical scale factor.</del></div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>: <ins class="diffchange diffchange-inline">使用 <原始數據串列> 繪製一個長條圖;圖形可指定 <長條寬度> 並依據 <垂直比例因數> 來調整長條高度。</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:{{Example|1=<br></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:{{Example|1=<br></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:*<code>BarChart({1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 5, 5, 5, 5}, 1)</code></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:*<code>BarChart({1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 5, 5, 5, 5}, 1)</code></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:*<code>BarChart({1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 5, 5, 5, 5}, 1, 2)</code>}}</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:*<code>BarChart({1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 5, 5, 5, 5}, 1, 2)</code>}}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>;BarChart( &lt;數據串列> , &lt;次數串列>, <長條寬度> )</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>;BarChart( &lt;數據串列> , &lt;次數串列>, <長條寬度> )</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>:<del class="diffchange diffchange-inline">Creates a bar chart using the list of data and corresponding frequencies; the bars have width ''w''. </del> </div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>: <ins class="diffchange diffchange-inline">使用 <數據串列> 以及相對應的 <次數串列> 繪製一個長條圖,並指定 <長條寬度>。 </ins> </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:{{Example|1=<div></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:{{Example|1=<div></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:*<code>BarChart({10, 11, 12, 13, 14}, {5, 8, 12, 0, 1}, 0.5)</code> leaves gaps between bars.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:*<code>BarChart({10, 11, 12, 13, 14}, {5, 8, 12, 0, 1}, 0.5)</code> leaves gaps between bars.</div></td></tr>
</table>
Nuhero
https://wiki.geogebra.org/s/zh/index.php?title=BarChart_%E6%8C%87%E4%BB%A4&diff=6864&oldid=prev
2023年11月25日 (六) 16:04 Nuhero
2023-11-25T16:04:56Z
<p></p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="zh">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">←上一版本</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">2023年11月25日 (六) 16:04的版本</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >第1行:</td>
<td colspan="2" class="diff-lineno">第1行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|chart}}</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|chart}}</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>;BarChart( <<del class="diffchange diffchange-inline">List of Data</del>>, &lt;<del class="diffchange diffchange-inline">List of Frequencies</del>> )</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>;BarChart( < <ins class="diffchange diffchange-inline">數據串列</ins>>, &lt; <ins class="diffchange diffchange-inline">次數串列</ins>> )</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:Creates a bar chart using the list of data with corresponding frequencies.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:Creates a bar chart using the list of data with corresponding frequencies.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:{{Note|The numbers in the list of raw data need to be arranged in increasing order.}}</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:{{Note|The numbers in the list of raw data need to be arranged in increasing order.}}</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l7" >第7行:</td>
<td colspan="2" class="diff-lineno">第7行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:*<code>BarChart({5, 6, 7, 8, 9}, {1, 0, 12, 43, 3})</code></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:*<code>BarChart({5, 6, 7, 8, 9}, {1, 0, 12, 43, 3})</code></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:*<code>BarChart({0.3, 0.4, 0.5, 0.6}, {12, 33, 13, 4})</code></div>}}</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:*<code>BarChart({0.3, 0.4, 0.5, 0.6}, {12, 33, 13, 4})</code></div>}}</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>;BarChart( <<del class="diffchange diffchange-inline">List of Raw Data</del>>, <<del class="diffchange diffchange-inline">Width of Bars</del>>, <<del class="diffchange diffchange-inline">Vertical Scale Factor (optional)</del>> )</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>;BarChart( < <ins class="diffchange diffchange-inline">原始數據串列</ins>>, < <ins class="diffchange diffchange-inline">長條寬度</ins>>, < <ins class="diffchange diffchange-inline">垂直比例因數(選用)</ins>> )</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:Creates a bar chart using the given raw data; the bars have the given width and the height of the bars depends on the vertical scale factor.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:Creates a bar chart using the given raw data; the bars have the given width and the height of the bars depends on the vertical scale factor.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:{{Example|1=<br></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:{{Example|1=<br></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:*<code>BarChart({1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 5, 5, 5, 5}, 1)</code></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:*<code>BarChart({1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 5, 5, 5, 5}, 1)</code></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:*<code>BarChart({1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 5, 5, 5, 5}, 1, 2)</code>}}</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:*<code>BarChart({1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 5, 5, 5, 5}, 1, 2)</code>}}</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>;BarChart( &lt;<del class="diffchange diffchange-inline">List of Data</del>> , &lt;<del class="diffchange diffchange-inline">List of Frequencies</del>>, <<del class="diffchange diffchange-inline">Width of Bars</del>> )</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>;BarChart( &lt; <ins class="diffchange diffchange-inline">數據串列</ins>> , &lt; <ins class="diffchange diffchange-inline">次數串列</ins>>, < <ins class="diffchange diffchange-inline">長條寬度</ins>> )</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:Creates a bar chart using the list of data and corresponding frequencies; the bars have width ''w''. </div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:Creates a bar chart using the list of data and corresponding frequencies; the bars have width ''w''. </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:{{Example|1=<div></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:{{Example|1=<div></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:*<code>BarChart({10, 11, 12, 13, 14}, {5, 8, 12, 0, 1}, 0.5)</code> leaves gaps between bars.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:*<code>BarChart({10, 11, 12, 13, 14}, {5, 8, 12, 0, 1}, 0.5)</code> leaves gaps between bars.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:*<code>BarChart({10, 11, 12, 13, 14}, {5, 8, 12, 0, 1}, 0)</code> produces a line graph.</div>}}</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:*<code>BarChart({10, 11, 12, 13, 14}, {5, 8, 12, 0, 1}, 0)</code> produces a line graph.</div>}}</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>;BarChart( <<del class="diffchange diffchange-inline">Start Value</del>>, <<del class="diffchange diffchange-inline">End Value</del>>, &lt;<del class="diffchange diffchange-inline">List of Heights</del>> )</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>;BarChart( < <ins class="diffchange diffchange-inline">起始值</ins>>, < <ins class="diffchange diffchange-inline">結束值</ins>>, &lt; <ins class="diffchange diffchange-inline">高度串列</ins>> )</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:Creates a bar chart over the given interval: the number of bars is determined by the length of the list, whose elements are the heights of the bars. </div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:Creates a bar chart over the given interval: the number of bars is determined by the length of the list, whose elements are the heights of the bars. </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:{{Example|1=<code>BarChart(10, 20, {1, 2, 3, 4, 5})</code> gives you a bar chart with five bars of specified height in the interval [10, 20].}}</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:{{Example|1=<code>BarChart(10, 20, {1, 2, 3, 4, 5})</code> gives you a bar chart with five bars of specified height in the interval [10, 20].}}</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>;BarChart( <<del class="diffchange diffchange-inline">Start Value</del>>, <<del class="diffchange diffchange-inline">End Value</del>> , <<del class="diffchange diffchange-inline">Expression</del>>, <<del class="diffchange diffchange-inline">Variable</del>>, <<del class="diffchange diffchange-inline">From Number</del>>, <<del class="diffchange diffchange-inline">To Number</del>> )</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>;BarChart( < <ins class="diffchange diffchange-inline">起始值</ins>>, < <ins class="diffchange diffchange-inline">結束值</ins>> , < <ins class="diffchange diffchange-inline">運算式</ins>>, < <ins class="diffchange diffchange-inline">變數名</ins>>, < <ins class="diffchange diffchange-inline">起始數</ins>>, < <ins class="diffchange diffchange-inline">結束數</ins>> )</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:Creates a bar chart over the given interval (Start Value, End Value), that calculates the bars’ heights using the expression whose variable ''k'' varies from number ''c'' to number ''d''. </div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:Creates a bar chart over the given interval (Start Value, End Value), that calculates the bars’ heights using the expression whose variable ''k'' varies from number ''c'' to number ''d''. </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:{{Example| 1=If ''p = 0.1'', ''q = 0.9'', and ''n = 10'' are numbers, then <code>BarChart(-0.5, n + 0.5, BinomialCoefficient(n,k) * p^k * q^(n-k), k, 0, n)</code> gives you a bar chart in the interval [''-0.5, n+0.5'']. The heights of the bars depend on the probabilities calculated using the given expression.}}</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:{{Example| 1=If ''p = 0.1'', ''q = 0.9'', and ''n = 10'' are numbers, then <code>BarChart(-0.5, n + 0.5, BinomialCoefficient(n,k) * p^k * q^(n-k), k, 0, n)</code> gives you a bar chart in the interval [''-0.5, n+0.5'']. The heights of the bars depend on the probabilities calculated using the given expression.}}</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>;BarChart( <<del class="diffchange diffchange-inline">Start Value</del>>, <<del class="diffchange diffchange-inline">End Value</del>>, <<del class="diffchange diffchange-inline">Expression</del>>, <<del class="diffchange diffchange-inline">Variable</del>>, <<del class="diffchange diffchange-inline">From Number</del>>, <<del class="diffchange diffchange-inline">To Number</del>>, <<del class="diffchange diffchange-inline">Step Width</del>> ): Creates a bar chart over the given interval (Start Value, End Value), the bars’ heights are calculated using the given expression in which the variable ''k'' varies from number ''c'' to number ''d'' using step width ''s''.</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>;BarChart( < <ins class="diffchange diffchange-inline">起始值</ins>>, < <ins class="diffchange diffchange-inline">結束值</ins>>, < <ins class="diffchange diffchange-inline">運算式</ins>>, < <ins class="diffchange diffchange-inline">變數名</ins>>, < <ins class="diffchange diffchange-inline">起始數</ins>>, < <ins class="diffchange diffchange-inline">結束數</ins>>, < <ins class="diffchange diffchange-inline">遞增值</ins>> ): Creates a bar chart over the given interval (Start Value, End Value), the bars’ heights are calculated using the given expression in which the variable ''k'' varies from number ''c'' to number ''d'' using step width ''s''.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{Note|It is possible to specify a different color/filling for each bar in the [[File:Menu-options.svg|link=|16px]] [[Object Properties]].}}</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{Note|It is possible to specify a different color/filling for each bar in the [[File:Menu-options.svg|link=|16px]] [[Object Properties]].}}</div></td></tr>
</table>
Nuhero
https://wiki.geogebra.org/s/zh/index.php?title=BarChart_%E6%8C%87%E4%BB%A4&diff=6622&oldid=prev
2021年8月3日 (二) 08:03 Nuhero
2021-08-03T08:03:05Z
<p></p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="zh">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">←上一版本</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">2021年8月3日 (二) 08:03的版本</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >第1行:</td>
<td colspan="2" class="diff-lineno">第1行:</td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><noinclude>{{Manual Page|version=<del class="diffchange diffchange-inline">4</del>.0}}</noinclude>{{command|chart|BarChart}}</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><noinclude>{{Manual Page|version=<ins class="diffchange diffchange-inline">5</ins>.0}}</noinclude>{{command|chart<ins class="diffchange diffchange-inline">}}</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>; BarChart<del class="diffchange diffchange-inline">[</del>Start Value, End Value, List of Heights<del class="diffchange diffchange-inline">]</del>: Creates a bar chart over the given interval: the number of bars is determined by the length of the list, whose elements are the heights of the bars. </div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">;BarChart( <List of Data>, &lt;List of Frequencies> )</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">:Creates a bar chart using the list of data with corresponding frequencies.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">:{{Note|The numbers in the list of raw data need to be arranged in increasing order.}}</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">:{{Example|1=<div> </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">:*<code>BarChart({10, 11, 12, 13, 14}, {5, 8, 12, 0, 1})</code></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">:*<code>BarChart({5, 6, 7, 8, 9}, {1, 0, 12, 43, 3})</code></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">:*<code>BarChart({0.3, 0.4, 0.5, 0.6}, {12, 33, 13, 4})</code></div>}}</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">;BarChart( <List of Raw Data>, <Width of Bars>, <Vertical Scale Factor (optional)> )</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">:Creates a bar chart using the given raw data; the bars have the given width and the height of the bars depends on the vertical scale factor.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">:{{Example</ins>|<ins class="diffchange diffchange-inline">1=<br></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">:*<code></ins>BarChart<ins class="diffchange diffchange-inline">({1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 5, 5, 5, 5</ins>}<ins class="diffchange diffchange-inline">, 1)</code></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">:*<code>BarChart({1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 5, 5, 5, 5</ins>}<ins class="diffchange diffchange-inline">, 1, 2)</code>}}</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">;BarChart( &lt;List of Data> , &lt;List of Frequencies>, <Width of Bars> )</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">:Creates a bar chart using the list of data and corresponding frequencies</ins>; <ins class="diffchange diffchange-inline">the bars have width ''w''. </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">:{{Example|1=<div></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">:*<code></ins>BarChart<ins class="diffchange diffchange-inline">({10, 11, 12, 13, 14}, {5, 8, 12, 0, 1}, 0.5)</code> leaves gaps between bars.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">:*<code>BarChart({10, 11, 12, 13, 14}, {5, 8, 12, 0, 1}, 0)</code> produces a line graph.</div>}}</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">;BarChart( <</ins>Start Value<ins class="diffchange diffchange-inline">></ins>, <ins class="diffchange diffchange-inline"><</ins>End Value<ins class="diffchange diffchange-inline">></ins>, <ins class="diffchange diffchange-inline">&lt;</ins>List of Heights<ins class="diffchange diffchange-inline">> )</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>:Creates a bar chart over the given interval: the number of bars is determined by the length of the list, whose elements are the heights of the bars<ins class="diffchange diffchange-inline">. </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">:{{Example|1=<code>BarChart(10, 20, {1, 2, 3, 4, 5})</code> gives you a bar chart with five bars of specified height in the interval [10, 20].}}</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">;BarChart( <Start Value>, <End Value> , <Expression>, <Variable>, <From Number>, <To Number> )</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">:Creates a bar chart over the given interval (Start Value, End Value), that calculates the bars’ heights using the expression whose variable ''k'' varies from number ''c'' to number ''d''. </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">:{{Example| 1=If ''p = 0.1'', ''q = 0.9'', and ''n = 10'' are numbers, then <code>BarChart(-0.5, n + 0.5, BinomialCoefficient(n,k) * p^k * q^(n-k), k, 0, n)</code> gives you a bar chart in the interval [''-0.5, n+0.5'']. The heights of the bars depend on the probabilities calculated using the given expression.}}</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">;BarChart( <Start Value>, <End Value>, <Expression>, <Variable>, <From Number>, <To Number>, <Step Width> ): Creates a bar chart over the given interval (Start Value, End Value), the bars’ heights are calculated using the given expression in which the variable ''k'' varies from number ''c'' to number ''d'' using step width ''s''</ins>.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>{{<del class="diffchange diffchange-inline">Example</del>|<del class="diffchange diffchange-inline">1=<code>BarChart[10, 20, {1,2,3,4,5} ]<</del>/<del class="diffchange diffchange-inline">code> gives you a </del>bar <del class="diffchange diffchange-inline">chart with five bars of specified height </del>in the <del class="diffchange diffchange-inline">interval </del>[<del class="diffchange diffchange-inline">''10, 20''].}}</del></div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{<ins class="diffchange diffchange-inline">Note</ins>|<ins class="diffchange diffchange-inline">It is possible to specify a different color</ins>/<ins class="diffchange diffchange-inline">filling for each </ins>bar in the [[<ins class="diffchange diffchange-inline">File</ins>:<ins class="diffchange diffchange-inline">Menu</ins>-<ins class="diffchange diffchange-inline">options</ins>.<ins class="diffchange diffchange-inline">svg</ins>|<ins class="diffchange diffchange-inline">link</ins>=|<ins class="diffchange diffchange-inline">16px</ins>]] [[<ins class="diffchange diffchange-inline">Object Properties</ins>]].}}</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">; BarChart</del>[<del class="diffchange diffchange-inline">Start Value a, End Value b, Expression, Variable k, From Number c, To Number d]</del>: <del class="diffchange diffchange-inline">Creates a bar chart over the given interval [''a, b''], that calculates the bars’ heights using the expression whose variable ''k'' varies from number ''c'' to number ''d''. </del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">{{Example| 1=If ''p = 0.1'', ''q = 0.9'', and ''n = 10'' are numbers, then <code>BarChart[ -0.5, n + 0.5, BinomialCoefficient[n,k]*p^k*q^(n-k), k, 0, n ]</code> gives you a bar chart in the interval [''</del>-<del class="diffchange diffchange-inline">0.5, n+0.5'']</del>. <del class="diffchange diffchange-inline">The heights of the bars depend on the probabilities calculated using the given expression.}}</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">; BarChart[Start Value a, End Value b, Expression, Variable k, From Number c, To Number d, Step Width s]: Creates a bar chart over the given interval [''a, b''], the bars’ heights are calculated using the given expression in which the variable ''k'' varies from number ''c'' to number ''d'' using step width ''s''.</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">; BarChart[List of Raw Data, Width of Bars]: Creates a bar chart using the given raw data; the bars have the given width.</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">{{Example</del>|<del class="diffchange diffchange-inline">1</del>=<del class="diffchange diffchange-inline"><code>BarChart[ {1,1,1,2,2,2,2,2,3,3,3,5,5,5,5}, 1]</code>}}</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">; BarChart[List of Data, List of Frequencies]: Creates a bar chart using the list of data with corresponding frequencies.</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">{{Note</del>| <del class="diffchange diffchange-inline">The list of data must contain numbers in arithmetic progression.}}</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">{{Example|1=<div> </del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">* <code>BarChart[{10,11,12,13,14}, {5,8,12,0,1}</del>]<del class="diffchange diffchange-inline"></code></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">* <code>BarChart[{5, 6, 7, 8, 9}, {1, 0, 12, 43, 3}</del>]<del class="diffchange diffchange-inline"></code></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">* <code>BarChart</del>[<del class="diffchange diffchange-inline">{0.3, 0.4, 0.5, 0.6}, {12, 33, 13, 4}]</code></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline"></div>}}</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">; BarChart[List of Data , List of Frequencies, Width of Bars w]: Creates a bar chart using the list of data and corresponding frequencies; the bars have width ''w''. </del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">{{Note|1=The list of data must contain numbers in arithmetic progression.}}</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">{{Example|1=<div></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">* <code>BarChart</del>[<del class="diffchange diffchange-inline">{10,11,12,13,14}, {5,8,12,0,1}, 0.5</del>]<del class="diffchange diffchange-inline"></code> leaves gaps between bars.</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">* <code>BarChart[{10,11,12,13,14}, {5,8,12,0,1}, 0</del>]<del class="diffchange diffchange-inline"></code> produces a line graph</del>.<del class="diffchange diffchange-inline"></div>}}</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">{{translate|BarChart Command</del>}}</div></td><td colspan="2"> </td></tr>
</table>
Nuhero
https://wiki.geogebra.org/s/zh/index.php?title=BarChart_%E6%8C%87%E4%BB%A4&diff=3392&oldid=prev
2011年9月29日 (四) 01:34 Jackhu
2011-09-29T01:34:00Z
<p></p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="zh">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">←上一版本</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">2011年9月29日 (四) 01:34的版本</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l27" >第27行:</td>
<td colspan="2" class="diff-lineno">第27行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* <code>BarChart[{10,11,12,13,14}, {5,8,12,0,1}, 0.5]</code> leaves gaps between bars.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* <code>BarChart[{10,11,12,13,14}, {5,8,12,0,1}, 0.5]</code> leaves gaps between bars.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* <code>BarChart[{10,11,12,13,14}, {5,8,12,0,1}, 0]</code> produces a line graph.</div>}}</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* <code>BarChart[{10,11,12,13,14}, {5,8,12,0,1}, 0]</code> produces a line graph.</div>}}</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">{{translate|BarChart Command}}</ins></div></td></tr>
</table>
Jackhu
https://wiki.geogebra.org/s/zh/index.php?title=BarChart_%E6%8C%87%E4%BB%A4&diff=3337&oldid=prev
Jackhu:en
2011-09-29T01:03:49Z
<p>en</p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="zh">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">←上一版本</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">2011年9月29日 (四) 01:03的版本</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >第1行:</td>
<td colspan="2" class="diff-lineno">第1行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><noinclude>{{Manual Page|version=4.0}}</noinclude>{{command|chart|BarChart}}</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><noinclude>{{Manual Page|version=4.0}}</noinclude>{{command|chart|BarChart}}</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>;BarChart[ <del class="diffchange diffchange-inline"><</del>List of <del class="diffchange diffchange-inline">Data></del>, <del class="diffchange diffchange-inline"><List </del>of <del class="diffchange diffchange-inline">Frequencies> ]</del></div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>; BarChart[<ins class="diffchange diffchange-inline">Start Value, End Value, </ins>List of <ins class="diffchange diffchange-inline">Heights]: Creates a bar chart over the given interval: the number of bars is determined by the length of the list</ins>, <ins class="diffchange diffchange-inline">whose elements are the heights </ins>of <ins class="diffchange diffchange-inline">the bars. </ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">:</del>{{<del class="diffchange diffchange-inline">translate</del>|BarChart <del class="diffchange diffchange-inline">Command</del>}}</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>;BarChart[ <del class="diffchange diffchange-inline"><List of Data></del>, <del class="diffchange diffchange-inline"><List of Frequencies></del>, <del class="diffchange diffchange-inline"><Width of Bars> </del>]</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{<ins class="diffchange diffchange-inline">Example</ins>|<ins class="diffchange diffchange-inline">1=<code></ins>BarChart<ins class="diffchange diffchange-inline">[10, 20, {1,2,3,4,5} ]</code> gives you a bar chart with five bars of specified height in the interval [''10, 20''].</ins>}}</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">:</del>{{<del class="diffchange diffchange-inline">translate</del>|BarChart <del class="diffchange diffchange-inline">Command</del>}}</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>;BarChart[ <del class="diffchange diffchange-inline"><</del>List of Raw Data<del class="diffchange diffchange-inline">></del>, <del class="diffchange diffchange-inline"><</del>Width of Bars<del class="diffchange diffchange-inline">> </del>]</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>; BarChart[<ins class="diffchange diffchange-inline">Start Value a, End Value b, Expression, Variable k, From Number c</ins>, <ins class="diffchange diffchange-inline">To Number d]: Creates a bar chart over the given interval [''a</ins>, <ins class="diffchange diffchange-inline">b''</ins>]<ins class="diffchange diffchange-inline">, that calculates the bars’ heights using the expression whose variable ''k'' varies from number ''c'' to number ''d''. </ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">:</del>{{<del class="diffchange diffchange-inline">translate</del>|BarChart <del class="diffchange diffchange-inline">Command</del>}}</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>;BarChart[ <del class="diffchange diffchange-inline"><Start Value>, <End Value></del>, <del class="diffchange diffchange-inline"><</del>List of <del class="diffchange diffchange-inline">Heights> </del>]</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{<ins class="diffchange diffchange-inline">Example</ins>| <ins class="diffchange diffchange-inline">1=If ''p = 0.1'', ''q = 0.9'', and ''n = 10'' are numbers, then <code></ins>BarChart<ins class="diffchange diffchange-inline">[ -0.5, n + 0.5, BinomialCoefficient[n,k]*p^k*q^(n-k), k, 0, n ]</code> gives you a bar chart in the interval [''-0.5, n+0.5'']. The heights of the bars depend on the probabilities calculated using the given expression.</ins>}}</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">:</del>{{<del class="diffchange diffchange-inline">translate</del>|<del class="diffchange diffchange-inline">BarChart Command</del>}}</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">;</del>BarChart[ <<del class="diffchange diffchange-inline">Start Value</del>><del class="diffchange diffchange-inline">, </del><<del class="diffchange diffchange-inline">End Value</del>>, <<del class="diffchange diffchange-inline">Expression</del>><del class="diffchange diffchange-inline">, </del><<del class="diffchange diffchange-inline">Variable</del>>, <<del class="diffchange diffchange-inline">From Number</del>><del class="diffchange diffchange-inline">, </del><<del class="diffchange diffchange-inline">To Number</del>> ]</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">; BarChart[Start Value a, End Value b, Expression, Variable k, From Number c, To Number d, Step Width s]: Creates a bar chart over the given interval [''a, b''], the bars’ heights are calculated using the given expression in which the variable ''k'' varies from number ''c'' to number ''d'' using step width ''s''.</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">:</del>{{<del class="diffchange diffchange-inline">translate</del>|<del class="diffchange diffchange-inline">BarChart Command</del>}}</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">;BarChart[ </del><<del class="diffchange diffchange-inline">Start Value</del>><del class="diffchange diffchange-inline">, </del><<del class="diffchange diffchange-inline">End Value</del>>, <<del class="diffchange diffchange-inline">Expression</del>><del class="diffchange diffchange-inline">, </del><<del class="diffchange diffchange-inline">Variable</del>>, <del class="diffchange diffchange-inline"><From Number></del>, <<del class="diffchange diffchange-inline">To Number</del>><del class="diffchange diffchange-inline">, </del><<del class="diffchange diffchange-inline">Step Width</del>> <del class="diffchange diffchange-inline">]</del></div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>; BarChart[List of Raw Data, Width of Bars]<ins class="diffchange diffchange-inline">: Creates a bar chart using the given raw data; the bars have the given width.</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">:{{translate|BarChart Command</del>}}</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{<ins class="diffchange diffchange-inline">Example</ins>|<ins class="diffchange diffchange-inline">1=<code></ins>BarChart<ins class="diffchange diffchange-inline">[ {1,1,1,2,2,2,2,2,3,3,3,5,5,5,5}, 1]</code></ins>}}</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>; BarChart[<ins class="diffchange diffchange-inline">List of Data</ins>, List of <ins class="diffchange diffchange-inline">Frequencies</ins>]<ins class="diffchange diffchange-inline">: Creates a bar chart using the list of data with corresponding frequencies.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{<ins class="diffchange diffchange-inline">Note</ins>| <ins class="diffchange diffchange-inline">The list of data must contain numbers in arithmetic progression.</ins>}}</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">{{Example|1=<div> </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">* <code></ins>BarChart[<ins class="diffchange diffchange-inline">{10,11,12,13,14}, {5,8,12,0,1}]</ins><<ins class="diffchange diffchange-inline">/code</ins>></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">* </ins><<ins class="diffchange diffchange-inline">code</ins>><ins class="diffchange diffchange-inline">BarChart[{5, 6</ins>, <ins class="diffchange diffchange-inline">7, 8, 9}, {1, 0, 12, 43, 3}]</ins><<ins class="diffchange diffchange-inline">/code</ins>></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">* </ins><<ins class="diffchange diffchange-inline">code</ins>><ins class="diffchange diffchange-inline">BarChart[{0.3, 0.4, 0.5, 0.6}</ins>, <ins class="diffchange diffchange-inline">{12, 33, 13, 4}]</ins><<ins class="diffchange diffchange-inline">/code</ins>></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><<ins class="diffchange diffchange-inline">/div</ins>><ins class="diffchange diffchange-inline">}}</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">; BarChart[List of Data , List of Frequencies, Width of Bars w</ins>]<ins class="diffchange diffchange-inline">: Creates a bar chart using the list of data and corresponding frequencies; the bars have width ''w''. </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{<ins class="diffchange diffchange-inline">Note</ins>|<ins class="diffchange diffchange-inline">1=The list of data must contain numbers in arithmetic progression.</ins>}}</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">{{Example|1=</ins><<ins class="diffchange diffchange-inline">div</ins>></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">* </ins><<ins class="diffchange diffchange-inline">code</ins>><ins class="diffchange diffchange-inline">BarChart[{10,11,12,13</ins>,<ins class="diffchange diffchange-inline">14}, {5,8,12,0,1}, 0.5]</ins><<ins class="diffchange diffchange-inline">/code</ins>> <ins class="diffchange diffchange-inline">leaves gaps between bars.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">* </ins><<ins class="diffchange diffchange-inline">code</ins>><ins class="diffchange diffchange-inline">BarChart[{10,11,12,13,14}</ins>, <ins class="diffchange diffchange-inline">{5,8,12,0,1}</ins>, <ins class="diffchange diffchange-inline">0]</ins><<ins class="diffchange diffchange-inline">/code</ins>> <ins class="diffchange diffchange-inline">produces a line graph.</ins><<ins class="diffchange diffchange-inline">/div</ins>>}}</div></td></tr>
</table>
Jackhu
https://wiki.geogebra.org/s/zh/index.php?title=BarChart_%E6%8C%87%E4%BB%A4&diff=261&oldid=prev
Zbynek:Autogenerated from properties
2011-03-23T23:56:16Z
<p>Autogenerated from properties</p>
<p><b>新页面</b></p><div><noinclude>{{Manual Page|version=4.0}}</noinclude>{{command|chart|BarChart}}<br />
;BarChart[ <List of Data>, <List of Frequencies> ]<br />
:{{translate|BarChart Command}}<br />
;BarChart[ <List of Data>, <List of Frequencies>, <Width of Bars> ]<br />
:{{translate|BarChart Command}}<br />
;BarChart[ <List of Raw Data>, <Width of Bars> ]<br />
:{{translate|BarChart Command}}<br />
;BarChart[ <Start Value>, <End Value>, <List of Heights> ]<br />
:{{translate|BarChart Command}}<br />
;BarChart[ <Start Value>, <End Value>, <Expression>, <Variable>, <From Number>, <To Number> ]<br />
:{{translate|BarChart Command}}<br />
;BarChart[ <Start Value>, <End Value>, <Expression>, <Variable>, <From Number>, <To Number>, <Step Width> ]<br />
:{{translate|BarChart Command}}</div>
Zbynek