heatmap prefab


Version 2.32

Prefabs


Manual page for heatmap_prefab(PL)

View the heatmap prefab examples


heatmap is a prefab 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 contentfield is specified. The binsizes and color breakdown can be automatically determined or specified explicitly for faster performance.


Parameters

Prefab
parameter
name
Data type DefaultDescription Examples
(ignore line wrapping)
Standard parameters     Most of the standard prefab parameters may be used. You must specify data (the name of the input data file). The clickmap parameters and ptselect 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.
x data field must be specified Identifies the data field that will hold X component. x=2
x=pmb
y data field must be specified Identifies the data field that will hold Y component. y=3
y=pmr
xcats yes or no no If yes, indicates that X component is categorical, not continuous numeric. xcats=yes
xbinsize

ybinsize
numeric based on data Explicitly specify bin size for continuous numeric data. If not specified these will be determined automatically, at some cost in performance. ybinsize=2.5
cutofflist commalist of numerics based on data Explicitly specify the cutoffs for color breakdown. commalist 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. commalist cannot contain embedded spaces. cutofflist=50,40,30,15,1 (would produce color categories of 50+, 40-49, 30-39, 15-29, and 1-14).
colorlist commalist of colors yellow,dullyellow,
orange,red,lightpurple,
purple
Specify the colors to be used for cells. The first color in commalist will go to the highest magnitude category. There should be enough colors to cover all categories. commalist may not contain embedded spaces. colorlist=white,limegreen,
green,teal,blue,
purple,black
zerocolor color black The plotting area will be initialized to this color. zerocolor=gray(0.8)
contentfield datafield   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 contentfield there can be no more than one data row for any cell position. contentfield=5

contentfield=fcount
symbol symboldetails   Specifies a data point symbol to be used instead of the usual rectangle. style=filled is assumed, and there's no need to specify color. "symbol= shape=diamond radius=0.1"
outline yes
or
linedetails
  If specified, cells will be outlined. yes gives a standard black line. "outline= color=gray(0.7) width=3"



data display engine  
Copyright Steve Grubb


Markup created by unroff 1.0,    August 23, 2005.