| Version 1.9 Build 1556
|
|
Next: Contents
The Glish 2.7 User Manual
DRAFT
Darrell Schiebel
National Radio Astronomy Observatory
520 Edgemont Rd.
Charlottesville, VA 22903-2475
drs@nrao.edu
Vern Paxson
Lawrence Berkeley Laboratory
1 Cyclotron Rd.
Berkeley, CA 94720
vern@ee.lbl.gov
Glish was originally designed and developed by Vern Paxson
of the Lawrence Berkeley Laboratory. He wrote
a fair chunk of this manual. Glish is now maintained and developed
by Darrell Schiebel, and so is this manual,
of which Darrell wrote the remainder. Darrell is the person to
contact with questions, comments, suggestions, and bug reports.
A postscript version
of this document is available.
Contents
List of Figures
List of Tables
Introduction
An Example of Using Glish
Values, Types, and Constants
Expressions
Statements
Functions
Events
Input and Output
Debugging, Logging, and Error Handling
Predefined Functions and Variables
Glish/Tk
Glish/PGPLOT
- Introduction
- Pgplot Agent Constructor
- Pgplot and Window Resizing
- Hints
- Non-Standard Methods
- Unavailable Standard PGPLOT Methods
- Standard PGPLOT Methods
- ARRO - draw an arrow
- ASK - control new page prompting
- BBUF - begin batch of output (buffer)
- BEG - begin PGPLOT, open output device
- BIN - histogram of binned data
- BOX - draw labeled frame around viewport
- CIRC - draw a filled or outline circle
- CLOS - close the selected graphics device
- CONB - contour map of a 2D data array, with blanking
- CONL - label contour map of a 2D data array
- CONS - contour map of a 2D data array (fast algorithm)
- CONT - contour map of a 2D data array (contour-following)
- CTAB - install the color table to be used by IMAG
- DRAW - draw a line from the current pen position to a point
- EBUF - end batch of output (buffer)
- END - terminate PGPLOT
- ENV - set window and viewport and draw labeled frame
- ERAS - erase all graphics from current page
- ERRB - horizontal or vertical error bar
- ERRX - horizontal error bar
- ERRY - vertical error bar
- GRAY - gray-scale map of a 2D data array
- HI2D - cross-sections through a 2D data array
- HIST - histogram of unbinned data
- IDEN - write username, date, and time at bottom of plot
- IMAG - color image from a 2D data array
- LAB - write labels for x-axis, y-axis, and top of plot
- LDEV - list available device types
- LEN - find length of a string in a variety of units
- LINE - draw a polyline (curve defined by line-segments)
- MOVE - move pen (change current pen position)
- MTXT - write text at position relative to viewport
- NUMB - convert a number into a plottable character string
- OPEN - open a graphics device
- PAGE - advance to new page
- PANL - switch to a different panel on the view surface
- PAP - change the size of the view surface
- PIXL - draw pixels
- PNTS - draw one or more graph markers, not all the same
- POLY - fill a polygonal area with shading
- PT - draw one or more graph markers
- PTXT - write text at arbitrary position and angle
- QAH - inquire arrow-head style
- QCF - inquire character font
- QCH - inquire character height
- QCI - inquire color index
- QCIR - inquire color index range
- QCOL - inquire color capability
- QCR - inquire color representation
- QCS - inquire character height in a variety of units
- QFS - inquire fill-area style
- QHS - inquire hatching style
- QID - inquire current device identifier
- QINF - inquire PGPLOT general information
- QITF - inquire image transfer function
- QLS - inquire line style
- QLW - inquire line width
- QPOS - inquire current pen position
- QTBG - inquire text background color index
- QTXT - find bounding box of text string
- QVP - inquire viewport size and position
- QVSZ - find the window defined by the full view surface
- QWIN - inquire window boundary coordinates
- RECT - draw a rectangle, using fill-area attributes
- RND - find the smallest `round' number greater than x
- RNGE - choose axis limits
- SAH - set arrow-head style
- SAVE - save PGPLOT attributes
- UNSA - restore PGPLOT attributes
- SCF - set character font
- SCH - set character height
- SCI - set color index
- SCIR - set color index range
- SCR - set color representation
- SCRN - set color representation by name
- SFS - set fill-area style
- SHLS - set color representation using HLS system
- SHS - set hatching style
- SITF - set image transfer function
- SLCT - select an open graphics device
- SLS - set line style
- SLW - set line width
- STBG - set text background color index
- SUBP - subdivide view surface into panels
- SVP - set viewport (normalized device coordinates)
- SWIN - set window
- TBOX - draw frame and write (DD) HH MM SS.S labelling
- TEXT - write text (horizontal, left-justified)
- UPDT - update display
- VECT - vector map of a 2D data array, with blanking
- VSIZ - set viewport (inches)
- VSTD - set standard (default) viewport
- WEDG - annotate an image plot with a wedge
- WNAD - set window and adjust viewport to same aspect ratio
Using Glish
Command Line Editing
The Glish Client Library
Internals
Changes Between Glish Releases
Bugs
Future Directions
Acknowledgments
Copyright
Glish Syntax and Grammar
Glish Syntax and Grammar
Index
Next: Contents
  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