Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: barchart - Constructor Up: guiutils - Module Previous: addpopuphelp - Function


barchart - Tool



Package display
Module guiutils


Postscript file available

Record values and display as a barchart

include "barchart.g"



Description

barchart tools are used to record name and value pairs, and to optionally display them in barchart form in a GUI.

If enough colors are available, the GUI display will use green bars if the size is below a specifiable ``large'' value, and red if the value is above the large value.

If there are not enough colors, the bars are always drawn as outlines in black and white.



Example
- bc := barchart('My Title', large=30);    
- bc.chart('small', 10)
- bc.chart('large', 50)   # Red, because it is >30
- bc.chart('small', 20)   # Update with new value
- bc.large(15)            # Turn small to Red by changing threshold



See Also
1.
Glish/PGPLOT
2.
pgplotter
3.
pgplotwidget




next up previous contents index
Next: barchart - Constructor Up: guiutils - Module Previous: addpopuphelp - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15