Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 15107 | mquerol | 1 | slib_lang_exists_tmp=yes |
| 2 | |||
| 3 | slib_title=Histogram |
||
| 4 | slib_parms=3\ |
||
| 5 | ,[data]\ |
||
| 6 | ,[position] list of numbers or [first end, width] which determine the intervals or the x-coordinates of the points\ |
||
| 7 | ,option : <span class="tt">noxtics</span>, <span class="tt">xtics [optional liste]</span>, <span class="tt">noytics</span>, \ |
||
| 8 | tt>ytics</tt> number of graduations,<span class="tt">type_histo</span>, <span class="tt">color</span> [red by default],<span class="tt">raw</span>,\ |
||
| 9 | option word amongst <span class="tt">url</span>, <span class="tt">html</span>, <span class="tt">raw</span> |
||
| 10 | |||
| 11 | slib_out=Plot of the histogram (+ size of the image when the option word is \ |
||
| 12 | <span class="tt">url</span> or <span class="tt">html</span>). |
||
| 13 | slib_synonyme=plot frequency, frequency plot |
||
| 14 | slib_comment=The first item of the output is: by default, the flydraw code (option word <span class="tt">raw</span>); \ |
||
| 15 | the address of the generated image if the option word is <span class="tt">url</span> ; \ |
||
| 16 | the html code for inserting image if the option word is the option <span class="tt">html</span>.\ |
||
| 17 | <ul><li>If <span class="tt">type_histo</span> is not given, the slib produces an histogram of\ |
||
| 18 | the data values in vector <span class="tt">[data]</span> using the intervals characterized by\ |
||
| 19 | <span class="tt">[position]</span> : the values of <span class="tt">[data]</span> are the areas of the bars of the\ |
||
| 20 | histogram. If <span class="tt">[position]</span> is a list of numbers which determine the \ |
||
| 21 | endpoints of intervals, its length is 1 + length of <span class="tt">[data]</span> \ |
||
| 22 | </li><li>If <span class="tt"> type_histo</span> is <span class="tt">baton</span> (resp. <span class="tt">stem</span>), \ |
||
| 23 | the slib produces a plot of data points in <span class="tt">[data]</span> connected \ |
||
| 24 | the horizontal axis by vertical bars (resp. vertical lines) at the \ |
||
| 25 | x-coordinates specified in <span class="tt">[position]</span> ; <span class="tt">[data]</span> and \ |
||
| 26 | <span class="tt">[position]</span> must have the same length.\ |
||
| 27 | </li><li>If <span class="tt">type_histo</span> is <span class="tt">step</span> or <span class="tt">stair</span>, the slib\ |
||
| 28 | produces a 'stairstep' graph of the data points in <span class="tt">[data]</span>. As <span class="tt">[position]</span>\ |
||
| 29 | specifies the endpoints of the horizontal lines, its length is 1 +\ |
||
| 30 | length of <span class="tt">[data]</span>.\ |
||
| 31 | With <span class="tt">stair</span>, the horizontal lines are not linked together by \ |
||
| 32 | vertical lines.</li></ul>\ |
||
| 33 | <br/> If <span class="tt">xtics</span> is followed by a number <span class="tt">n</span>, there are <span class="tt">n</span> graduations. \ |
||
| 34 | If it is followed by a vector, the graduations are on the intervals \ |
||
| 35 | and the text is those given in the vector.\ |