|
|
(21 intermediate revisions by 6 users not shown) |
Line 1: |
Line 1: |
− | Feel free to use this sandbox to experiment with wiki syntax. See [[Help:Contents]] for details.
| + | {{Please leave this line alone (sandbox heading)}} |
| | | |
− | <noinclude>{{Manual Page}}</noinclude>
| + | test |
− | ; BarChart[Start Value, End Value, List of Heights]: Creates a bar chart over the given interval where the number of bars is determined by the length of the list whose elements are the heights of the bars.
| + | test |
− | : {{Example| <tt>BarChart[10, 20, {1,2,3,4,5} ]</tt> gives you a bar chart with five bars of specified height in the interval [''10, 20''].}} | + | test |
− | ; BarChart[Start Value a, End Value b, Expression, Variable k, From Number c, To Number d]: Creates a bar chart over the given interval [''a, b''], that calculates the bars’ heights using the expression whose variable ''k'' runs from number ''c'' to number ''d''.
| + | {| class=pretty |
− | :{{Example| If ''p = 0.1'', ''q = 0.9'', and ''n = 10'' are numbers, then <tt>BarChart[ -0.5, n + 0.5, BinomialCoefficient[n,k]*p^k*q^(n-k), k, 0, n ]</tt> 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.}}
| + | !Valore |
− | ; 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''], that calculates the bars’ heights using the expression whose variable ''k'' runs from number ''c'' to number ''d'' using step width ''s''.
| + | !Decorazione segmento |
− | ; BarChart[List of Raw Data, Width of Bars]: Creates a bar chart using the given raw data whose bars have the given width.
| + | !Decorazione angolo |
− | : Example: <tt>BarChart[ {1,1,1,2,2,2,2,2,3,3,3,5,5,5,5}, 1]</tt> | + | |- |
− | ; BarChart[List of Data, List of Frequencies]: Creates a bar chart using the list of data with corresponding frequencies.
| + | |1 |
− | : Note: The List of data must be a list where the numbers go up by a constant amount. | + | |[[File:D1M.png|24px]] 1 tacca |
− | : Examples:
| + | |[[Image:A2A.png|24px]] 2 archi |
− | :* <tt>BarChart[{10,11,12,13,14}, {5,8,12,0,1}]</tt>
| + | |- |
− | :* <tt>BarChart[{5, 6, 7, 8, 9}, {1, 0, 12, 43, 3}]</tt>
| + | |2 |
− | :* <tt>BarChart[{0.3, 0.4, 0.5, 0.6}, {12, 33, 13, 4}]</tt> | + | |[[Image:D2M.png|24px]] 2 tacche |
− | ; BarChart[List of Data , List of Frequencies, Width of Bars w]: Creates a bar chart using the list of data and corresponding frequencies whose bars are of width ''w''.
| + | |[[Image:A3A.png|24px]] 3 archi |
− | : Note: The List of data must be a list where the numbers go up by a constant amount
| + | |- |
− | : Examples:
| + | |3 |
− | :* <tt>BarChart[{10,11,12,13,14}, {5,8,12,0,1}, 0.5]</tt> leaves gaps between bars. | + | |[[Image:D3M.png|24px]] 3 tacche |
− | :* <tt>BarChart[{10,11,12,13,14}, {5,8,12,0,1}, 0]</tt> produces a line graph.
| + | |[[Image:A1M.png|24px]] 1 tacca |
| + | |- |
| + | |4 |
| + | |[[Image:D1C.png|24px]] 1 freccia |
| + | |[[Image:A2M.png|24px]] 2 tacche |
| + | |- |
| + | |5 |
| + | |[[Image:D2C.png|24px]] 2 frecce |
| + | |[[Image:A2M.png|24px]] 3 tacche |
| + | |- |
| + | |6 |
| + | |[[Image:D3C.png|24px]] 3 frecce |
| + | |[[Image:AOP.png|24px]] orientazione + |
| + | |- |
| + | |7 |
| + | | |
| + | |[[Image:AOM.png|24px]] orientazione - |
| + | |} |