File: prefab_heatmap

package info (click to toggle)
ploticus-doc 2.33-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 9,392 kB
  • ctags: 169
  • sloc: pascal: 469; makefile: 63; sh: 11
file content (208 lines) | stat: -rw-r--r-- 6,394 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
.ig >>
<STYLE TYPE="text/css">
<!--
        A:link{text-decoration:none}
        A:visited{text-decoration:none}
        A:active{text-decoration:none}
        OL,UL,P,BODY,TD,TR,TH,FORM { font-family: arial,helvetica,sans-serif;; font-size:small; color: #333333; }

        H1 { font-size: x-large; font-family: arial,helvetica,sans-serif; }
        H2 { font-size: large; font-family: arial,helvetica,sans-serif; }
        H3 { font-size: medium; font-family: arial,helvetica,sans-serif; }
        H4 { font-size: small; font-family: arial,helvetica,sans-serif; }
-->
</STYLE>
<title>ploticus: heatmap prefab</title>
<body bgcolor=D0D0EE vlink=0000FF>
<br>
<br>
<center>
<table cellpadding=2 bgcolor=FFFFFF width=550><tr>
<td>
  <table cellpadding=2 width=550><tr>
  <td><br><h2>heatmap prefab</h2></td>
  <td align=right>
  <small>
  <a href="../doc/welcome.html"><img src="../doc/ploticus.gif" border=0></a><br>
  Version 2.33 Jun'06
     </small><br><a href="../doc/prefabs.html">Prefabs</a>
  <td></tr></table>
</td></tr>
<td>
<br>
<br>
.>>

.TH heatmap_prefab PL "02-JUN-2006   PL ploticus.sourceforge.net"

.ig >>
<center><a href="prefab_heatmap_ex.html"><img src="../gallery/prefab_img/heatmap2thm.gif" border=0>
 <br><b>View the heatmap prefab examples</a></b><br><br></center>
.>>


.LP
\fBheatmap\fR is a 
.ig >>
<a href="prefabs.html">
.>>
\0prefab
.ig >>
</a>
.>>
for producing heatmaps, density grids and similar displays.
Data can be continuous numeric or categorical.  Numeric data will be fitted into bins.
Instance counts are displayed unless \fCcontentfield\fR is specified.
The binsizes and color breakdown can be automatically determined or 
specified explicitly for faster performance.

.ig >>
<br><br><br>
.>>


.SH Parameters

.ig >>

<table cellpadding=2 bgcolor=A0A0A0 width=600>

<tr bgcolor=FFFFEC align=center><td><b>Prefab<br>parameter<br>name</td><td>Data type</td>
<td>Default</td><td>Description</td>
<td>Examples<br><small>(ignore line wrapping)</td></tr>


<tr bgcolor=FFFFFF>
<td><b><a href="prefab_stdparms.html">Standard parameters</a></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td colspan=2>Most of the <a href="prefab_stdparms.html">standard prefab parameters</a> may be used.
You <font color=D00000>must specify</font> <b>data</b> (the name of the input data file).
The clickmap parameters and <b>ptselect</b> aren't available with this prefab.
You can't do an x axis along the top or a Y axis along the right side with this prefab.
</td>
</tr>

<tr bgcolor=FFFFFF>
<td><b>x</td>
<td><a href="atypes.html#dfield">data field</a></td>
<td><font color=D00000>must be specified</font></td>
<td><nobr>Identifies the data field that will hold</nobr> X component.</td>
<td><tt>x=2<br>x=pmb</td>
</tr>

<tr bgcolor=FFFFFF>
<td><b>y</td>
<td><a href="atypes.html#dfield">data field</a></td>
<td><font color=D00000>must be specified</font></td>
<td>Identifies the data field that will hold Y component.</td>
<td><tt>y=3<br>y=pmr</td>
</tr>

<tr bgcolor=FFFFFF>
<td><b>xcats</td>
<td><tt>yes</tt> or <tt>no</td>
<td><tt>no</td>
<td>If <tt>yes</tt>, indicates that X component is categorical, not continuous numeric.</td>
<td><tt>xcats=yes</td>
</tr>


<tr bgcolor=FFFFFF>
<td><b>xbinsize<br><br>ybinsize</td>
<td>numeric</td>
<td>based on data</td>
<td>Explicitly specify bin size for continuous numeric data.
If not specified these will be determined automatically, at some cost in performance.</td>
<td><tt>ybinsize=2.5</td>
</tr>

<tr bgcolor=FFFFFF>
<td><b>cutofflist</td>
<td><i>commalist of numerics</td></td>
<td>based on data</td>
<td>Explicitly specify the cutoffs for color breakdown.
<i>commalist</i> is a comma-delimited list of numeric values, from large
magnitude to small.  If not specified a reasonable (but probably not ideal) breakdown 
of 6 color categories will be provided automatically, at some cost in performance.
<i>commalist</i> cannot contain embedded spaces.</td>
<td><tt>cutofflist=50,40,30,15,1</tt> 
(would produce color categories of 50+, 40-49, 30-39, 15-29, and 1-14).
</td>
</tr>


<tr bgcolor=FFFFFF>
<td><b>colorlist</td>
<td><i>commalist of <a href="color.html">colors</a></td>
<td><tt>yellow,dullyellow,<br>orange,red,lightpurple,<br>purple</td>
<td>Specify the colors to be used for cells.
The first color in <i>commalist</i> will go to the highest magnitude category.
There must be one color specified for each category.
<i>commalist</i> may not contain embedded spaces.</td>
<td><tt>colorlist=white,limegreen,<br>green,teal,blue,<br>purple,black</tt></td>
</tr>


<tr bgcolor=FFFFFF>
<td><b>zerocolor</td>
<td><a href="color.html">color</a></td>
<td><tt>black</td>
<td>The plotting area will be initialized to this color.
Cells that aren't set to a specific color during processing will be shown in this color.
</td>
<td><tt>zerocolor=gray(0.8)</td>
</tr>

<tr bgcolor=FFFFFF>
<td><b>contentfield</td>
<td><a href="atypes.html#dfield">datafield</td>
<td>&nbsp;</td>
<td>If specified, indicates that instances are not to be counted, but instead, the
value in this field will determine the color for a given cell.  Thus with
<b>contentfield</b> only one data row (the last one encountered) will control the color of any given cell.</td>
<td><tt>contentfield=5<br><br>contentfield=fcount</td>
</tr>

<tr bgcolor=FFFFFF>
<td><b>symbol</b></td>
<td><a href="symboldetails.html">symboldetails</a></td>
<td>&nbsp;</td>
<td>Specifies a data point symbol to be used instead of the usual rectangle.
<tt>style=filled</tt> is assumed, and there's no need to specify color.</td>
<td><tt>"symbol= shape=diamond radius=0.1"</td>
</tr>


<tr bgcolor=FFFFFF>
<td><b>outline</b></td>
<td><tt>yes</tt><br>or<br><tt><a href="linedetails.html">linedetails</a></td>
<td>&nbsp;</td>
<td>If specified, cells will be outlined.  <tt>yes</tt> gives a standard black line.</td>
<td><tt>"outline= color=gray(0.7) width=3"</td>
</tr>

</table>
.>>

.ig >>
<br>
<br>
</td></tr>
<td align=right>
<a href="../doc/welcome.html">
<img src="../doc/ploticus.gif" border=0></a><br><small>data display engine &nbsp; <br>
<a href="../doc/Copyright.html">Copyright Steve Grubb</a>
<br>
<br>
<center>
<img src="../gallery/all.gif"> 
</center>
</td></tr>
</table>
<br>
<center>
Ploticus is hosted at http://ploticus.sourceforge.net <br>
<img src="http://sourceforge.net/sflogo.php?group_id=38453" width="88" height="31" border="0" alt="SourceForge Logo">
</center>
.>>