Rev 4231 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
slib_lang_exists_tmp=yes
slib_title=Histogram
slib_parms=3\
,[data]\
,[position] list of numbers or [first end, width] which determine the intervals or the x-coordinates of the points\
,option : <tt>noxtics</tt>, <tt>xtics [optional liste]</tt>, <tt>noytics</tt>, \
tt>ytics</tt> number of graduations,<tt>type_histo</tt>, <tt>color</tt> [red by default],<tt>raw</tt>,\
option word amongst <tt>url</tt>, <tt>html</tt>, <tt>raw</tt>
slib_out=Plot of the histogram (+ size of the image when the option word is \
<tt>url</tt> or <tt>html</tt>).
slib_synonyme=plot frequency, frequency plot
slib_comment=The first item of the output is: by default, the flydraw code (option word <tt>raw</tt>); \
the address of the generated image if the option word is <tt>url</tt> ; \
the html code for inserting image if the option word is the option <tt>html</tt>.\
<ul><li>If <tt>type_histo</tt> is not given, the slib produces an histogram of\
the data values in vector <tt>[data]</tt> using the intervals characterized by\
<tt>[position]</tt> : the values of <tt>[data]</tt> are the areas of the bars of the\
histogram. If <tt>[position]</tt> is a list of numbers which determine the \
endpoints of intervals, its length is 1 + length of <tt>[data]</tt> \
</li><li>If <tt> type_histo</tt> is <tt>baton</tt> (resp. <tt>stem</tt>), \
the slib produces a plot of data points in <tt>[data]</tt> connected \
the horizontal axis by vertical bars (resp. vertical lines) at the \
x-coordinates specified in <tt>[position]</tt> ; <tt>[data]</tt> and \
<tt>[position]</tt> must have the same length.\
</li><li>If <tt>type_histo</tt> is <tt>step</tt> or <tt>stair</tt>, the slib\
produces a 'stairstep' graph of the data points in <tt>[data]</tt>. As <tt>[position]</tt>\
specifies the endpoints of the horizontal lines, its length is 1 +\
length of <tt>[data]</tt>.\
With <tt>stair</tt>, the horizontal lines are not linked together by \
vertical lines.</li></ul>\
<br/> If <tt>xtics</tt> is followed by a number <tt>n</tt>, there are <tt>n</tt> graduations. \
If it is followed by a vector, the graduations are on the intervals \
and the text is those given in the vector.\