# 막대그래프 명령 이동: 둘러보기, 검색
이 페이지는 공식 매뉴얼에서 출력과 pdf를 위한 부분입니다. 일반 사용자들은 이 페이지를 편집할 수 없습니다. 만일 이 페이지에서 오류를 발견하였으면, 연락하여 주시기 바랍니다.사용자에 의해 편집 가능한 버전으로 이동
##### 막대그래프 명령
이 글은 GeoGebra 명령 에 관한 것입니다.
##### 명령 분류 (모든 명령)
BarChart( <List of Data>, <List of Frequencies> )
Creates a bar chart using the list of data with corresponding frequencies.
노트: The numbers in the list of raw data need to be arranged in increasing order.
예:
• `BarChart({10, 11, 12, 13, 14}, {5, 8, 12, 0, 1})`
• `BarChart({5, 6, 7, 8, 9}, {1, 0, 12, 43, 3})`
• `BarChart({0.3, 0.4, 0.5, 0.6}, {12, 33, 13, 4})`
BarChart( <List of Raw Data>, <Width of Bars>, <Vertical Scale Factor (optional)> )
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.
예:
• `BarChart({1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 5, 5, 5, 5}, 1)`
• `BarChart({1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 5, 5, 5, 5}, 1, 2)`
BarChart( <List of Data> , <List of Frequencies>, <Width of Bars> )
Creates a bar chart using the list of data and corresponding frequencies; the bars have width w.
예:
• `BarChart({10, 11, 12, 13, 14}, {5, 8, 12, 0, 1}, 0.5)` leaves gaps between bars.
• `BarChart({10, 11, 12, 13, 14}, {5, 8, 12, 0, 1}, 0)` produces a line graph.
BarChart( <Start Value>, <End Value>, <List of Heights> )
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.
예: `BarChart(10, 20, {1, 2, 3, 4, 5})` gives you a bar chart with five bars of specified height in the interval [10, 20].
BarChart( <Start Value>, <End Value> , <Expression>, <Variable>, <From Number>, <To Number> )
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.
예: If p = 0.1, q = 0.9, and n = 10 are numbers, then `BarChart(-0.5, n + 0.5, BinomialCoefficient(n,k) * p^k * q^(n-k), k, 0, n)` 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.
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.
노트: It is possible to specify a different color/filling for each bar in the Object Properties.
• GeoGebra
• Help
• Partners