tables/
vis_spotmatrix.pro
includes main-level programCreate a spot matrix table.
Here's a good reference for making these types of tables:
http://i-ocean.blogspot.com/2008/10/using-spots-and-rings-in-tables.html
Examples
Run the main-level example program at the end of this file with:
IDL> .run vis_spotmatrix
Other file information
- Todo:
* height/width ratio needs some work * there are several magic numbers: should these be calculated in some way or be set through keywords? * should normalize by row or column, not by the entire data matrix * might need to calculate area of annulus instead of radii
Routines
vis_spotmatrix_makeglyph, val, x, y, _extra=_extra
Make a circle, filled in proportionally to its normalized value.
vis_spotmatrix, data, colTitles, rowTitles, color=color, title_color=title_color, _extra=_extra
Create spot matrix table.
Routine details
top vis_spotmatrix_makeglyph
vis_spotmatrix_makeglyph, val, x, y, _extra=_extra
Make a circle, filled in proportionally to its normalized value.
Parameters
- val in required type=float
normalized value
- x in required type=float
x value for center of glyph
- y in required type=float
y value for center of glyph
Keywords
- _extra
top vis_spotmatrix
vis_spotmatrix, data, colTitles, rowTitles, color=color, title_color=title_color, _extra=_extra
Create spot matrix table.
Parameters
- data in required type=fltarr(n, m)
data to present in tabular format
- colTitles in required type=strarr(n)
column headers
- rowTitles in required type=strarr(m)
row headers
Keywords
- color
- title_color
- _extra
File attributes
Modification date: | Mon Nov 29 18:32:44 2010 |
Lines: | 131 |
Docformat: | rst rst |