Debian Codegraph @

docs/manual/TableOfReal__Draw_rows_as_histogram___.html

raw symbols SCIP
1 <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
2 <title>TableOfReal: Draw rows as histogram...</title>
3 <style>
4 td { padding-left: 5pt; padding-right: 5pt; }
5 th { padding-left: 5pt; padding-right: 5pt; }
6 code { white-space: pre-wrap; }
7 dd { white-space: pre-wrap; }
8 </style>
9 </head><body bgcolor="#FFFFFF">
10
11 <table border=0 cellpadding=0 cellspacing=0><tr><td bgcolor="#CCCC00"><table border=4 cellpadding=9><tr><td align=middle bgcolor="#000000"><font face="Palatino,Times" size=6 color="#999900"><b>
12 TableOfReal: Draw rows as histogram...
13 </b></font></table></table>
14 <p>A command to draw a histogram from the rows in the selected <a href="TableOfReal.html">TableOfReal</a> object.</p>
15 <p>The histogram will consist of <i>groups</i> of bars. The number of groups will be determined by the number of selected columns from the table, while the number of bars within each group will be determined from the number of selected rows.</p>
16 <h2>Settings</h2>
17 <dl>
18 <dt><b>Row numbers</b> and <b>Column range</b>
19 <dd>determine the part of the table that you want to draw. The column range determines the number of bars that you want to draw for each row selected by the <i>Row numbers</i> argument.</dd>
20 <dt><b>Ymin</b> and <b>Ymax</b>
21 <dd>the drawing boundaries.</dd>
22 </dl>
23 <p>The following arguments are all relative to the width of a bar in the histogram. </p>
24 <dl>
25 <dt><b>Horizontal offset</b>
26 <dd>the offset from the left and right margin.</dd>
27 <dt><b>Distance between bar groups</b>
28 <dd>the distance between each group, i.e., the distance between the right side of the last bar in a group to the left side of the first bar in the next group.</dd>
29 <dt><b>Distance between bars</b>
30 <dd>the distance between the bars in a group.</dd>
31 <dt><b>Grey values</b>
32 <dd>the grey values of the bars in a group.</dd>
33 </dl>
34 <h2>Bar positioning</h2>
35 <p>If you want to put the labels yourself you will need the following information.</p>
36 <p>The width of a bar is determined as follows:</p>
37 <table width="100%" style="white-space:pre-wrap"><tr><td align=middle><i>width</i> = 1 / (<i>nc</i> &#183; <i>nr</i> + 2 &#183; <i>hoffset</i> + (<i>nc</i> - 1)&#183; <i>intergroup</i> +<i>nc</i>&#183;(<i>nr</i> -1)&#183; <i>interbar</i>),</table>
38 <p>where <i>nc</i> is the number of columns (groups) to draw, <i>nr</i> is the number of rows to draw (the number of bars within a group), <i>hoffset</i> is the horizontal offset, <i>intergroup</i> the distance between each group and <i>interbar</i> the distance between the bars within a group.</p>
39 <p>The spacing between the bars drawn from a row:</p>
40 <table width="100%" style="white-space:pre-wrap"><tr><td align=middle><i>dx</i> = (<i>intergroup</i> + <i>nr</i> + (<i>nr</i> -1) &#183; <i>interbar</i>) *<i></i> width</table>
41 <p>The first bar for the <i>k</i>-th row starts at:</p>
42 <table width="100%" style="white-space:pre-wrap"><tr><td align=middle><i>x1</i> = <i>hoffset</i> &#183; <i>width</i> + (<i>k</i> - 1) &#183; (1 + <i>interbar</i>) &#183; <i>width</i></table>
43 <hr>
44 <address>
45 <p>© djmw 20030619</p>
46 </address>
47 </body>
48 </html>