sparklines/
mg_sparkdichotomous.pro
topmg_sparkdichotomous
mg_sparkdichotomous, filename, data [, ysize=integer] [, color=bytarr(3) or index] [, background=bytarr(3) or index]
Creates a dichotomous sparkline as a PNG image file.
Parameters
- filename in required type=string
filename of PNG file to write
- data in required type=lonarr
values can be -1, 0, or +1
Keywords
- ysize in optional type=integer default=12
ysize in pixels of the output image
- color in optional type=bytarr(3) or index default=[0, 0, 0] or 0
color of the plot
- background in optional type=bytarr(3) or index default=[255, 255, 255] or 255
background color for the plot
File attributes
| Modification date: | Tue Nov 20 11:24:28 2007 |
| Lines: | 61 |
![[attach.png]](../idldoc-resources/attach.png)