TCL SYNTAX:
pgArrow "<x1>" "<y1>" "<x2>" "<y2>"
TCL HELP STRING:
Draw an arrow from X1,Y1 to X2,Y2.
TCL ARGUMENTS:
:
"<x1>" : World coordinates of tail of arrow.
"<y1>" : World coordinates of tail of arrow.
"<x2>" : World coordinates of head of arrow.
"<y2>" : World coordinates of head of arrow.
TCL SYNTAX:
pgBand "<mode>" "<position>" "<xref>" "<yref>" "<x>" "<y>"
TCL HELP STRING:
Read cursor position and character typed by user.
TCL ARGUMENTS:
:
"<mode>" : Specify what is drawn with respect to the cursor and the anchor point (0-7).
"<position>" : If = 1 place cursor at entered point else leave cursor alone.
"<xref>" : World x-coordinate of the anchor point.
"<yref>" : World y-coordinate of the anchor point.
"<x>" : World x-coordinate of the cursor.
"<y>" : World y-coordinate of the cursor.
TCL SYNTAX:
pgCirc "<xcent>" "<ycent>" "<radius>"
TCL HELP STRING:
Draw a circle
TCL ARGUMENTS:
:
"<xcent>" : world x-coordinate of the center of the circle.
"<ycent>" : world y-coordinate of the center of the circle.
"<radius>" : radius of circle (world coordinates).
TCL SYNTAX:
pgConl "<a>" "<i1>" "<i2>" "<j1>" "<j2>" "<c>" "<tr>" "<label>" "<intval>" "<minint>"
TCL HELP STRING:
Label a contour map drawn with routine PGCONT.
TCL ARGUMENTS:
:
"<a>" : Data array.
"<i1>" : start of range of first index to be contoured (inclusive).
"<i2>" : end of range of first index to be contoured (inclusive).
"<j1>" : start of range of second index to be contoured (incluseive).
"<j2>" : end of range of second index to be contoured (inclusive).
"<c>" : level of the contour to be labelled
"<tr>" : array defining a transformation between the I,J rid of the array and the world coordinates.
"<label>" : used to label the specified contour
"<intval>" : spacing along the contour between labels, in grid cells
"<minint>" : contours that cross less than MININT cells will not be labelled
TCL SYNTAX:
pgEras
TCL HELP STRING:
Erase all graphics from the current page or panel.
TCL ARGUMENTS:
:
TCL SYNTAX:
pgImag "<a>" "<i1>" "<i2>" "<j1>" "<j2>" "<a1>" "<a2>" "<tr>"
TCL HELP STRING:
Draw a color image of an array in current window
TCL ARGUMENTS:
:
"<a>" : the array to be plotted.
"<i1>" : lower bound of the first index to be plotted
"<i2>" : upper bound of the first index to be plotted
"<j1>" : lower bound of the second index to be plotted
"<j2>" : upper bound of the second index to be plotted
"<a1>" : the array value which is to appear with shade C1.
"<a2>" : the array value which is to appear with shade C2.
"<tr>" : transformation matrix between array grid and world coordinates.
TCL SYNTAX:
pgLen "<units>" "<string>"
TCL HELP STRING:
Work out length of a string in x and y directions
TCL ARGUMENTS:
:
"<units>" : Desired coordinates for answer (0:normalized device coordinates
1:inches
2:mm
3:absolute device coordinates
4:world coordinates
5:fraction of the current viewport.
"<string>" : string of interest
TCL SYNTAX:
pgPanl "<ix>" "<iy>"
TCL HELP STRING:
Start plotting in a different panel.
TCL ARGUMENTS:
:
"<ix>" : The horizontal index of the panel (1 - number of horizontal panels)
"<iy>" : The vertical index of the panel (1 - number of vertical panels)
TCL SYNTAX:
pgPixl "<ia>" "<i1>" "<i2>" "<j1>" "<j2>" "<x1>" "<y1>" "<x2>" "<y2>"
TCL HELP STRING:
Draw lots of solid-filled (tiny) rectangles aligned with the coordinate axes.
TCL ARGUMENTS:
:
"<ia>" : the array to be plotted.
"<i1>" : the lower range bound of the first index to be plotted
"<i2>" : the upper range bound of the first index to be plotted
"<j1>" : the lower range bound of the second index to be plotted
"<j2>" : the upper range bound of the second index to be plotted
"<x1>" : x world coordinate of one corner of the output region
"<y1>" : y world coordinate of one corner of the output region
"<x2>" : x world coordinates of the opposite corner of the output region
"<y2>" : y world coordinates of the opposite corner of the output region
TCL SYNTAX:
pgPnts "<n>" "<x>" "<y>" "<symbol>"
TCL HELP STRING:
Draw Graph Markers. Unlike PGPT, this routine can draw a different symbol at each point.
TCL ARGUMENTS:
:
"<n>" : number of points to mark
"<x>" : world x-coordinates of the points.
"<y>" : world y-coordinates of the points.
"<symbol>" : code number of the symbol to be plotted for each point
TCL SYNTAX:
pgQtxt "<x>" "<y>" "<angle>" "<fjust>" "<text>"
TCL HELP STRING:
Returns a bounding box for a text string.
TCL ARGUMENTS:
:
"<x>" : World x-coordinate
"<y>" : World y-coordinate
"<angle>" : Angle (in degrees) that the baseline is to make with the horizontal
"<fjust>" : Horizontal justification of the string (0.0 is left justified, 1.0 is right justified)
"<text>" : The character string to be plotted
TCL SYNTAX:
pgQah
TCL HELP STRING:
Inquire as to the arrow-head style
TCL ARGUMENTS:
:
TCL SYNTAX:
pgQcir
TCL HELP STRING:
Query the color index range to be used for producing images with PGGRAY or PGIMAG
TCL ARGUMENTS:
:
TCL SYNTAX:
pgQcr "<ci>"
TCL HELP STRING:
Query the RGB colors associated with a color index.
TCL ARGUMENTS:
:
"<ci>" : Color index
.
TCL SYNTAX:
pgQcs "<units>"
TCL HELP STRING:
Return the current PGPLOT character height in a variety of units.
TCL ARGUMENTS:
:
"<units>" : Used to specify the units of the output value:
0 : normalized device coordinates
1 : inches
2 : mm
3 : pixels
TCL SYNTAX:
pgQitf
TCL HELP STRING:
Return the Image Transfer Function as set by default or by a previous call to PGSITF.
TCL ARGUMENTS:
:
TCL SYNTAX:
pgQpos
TCL HELP STRING:
Query the current pen position in world C coordinates (X,Y).
TCL ARGUMENTS:
:
TCL SYNTAX:
pgQtbg
TCL HELP STRING:
Query the current Text Background Color Index (set by routine PGSTBG).
TCL ARGUMENTS:
:
TCL SYNTAX:
pgQvsz "<units>"
TCL HELP STRING:
Return the window, in a variety of units, defined by the full device view surface (0 -> 1 in normalized device coordinates).
TCL ARGUMENTS:
:
"<units>" : 0,1,2,3 for output in normalized device coords, inches, mm, or absolute device units (dots)
TCL SYNTAX:
pgSah "<fs>" "<angle>" "<vent>"
TCL HELP STRING:
Set the style to be used for arrowheads drawn with routine PGARRO.
TCL ARGUMENTS:
:
"<fs>" : FS = 1 => filled; FS = 2 => outline.
"<angle>" : the acute angle of the arrow point, in degrees; angles in the range 20.0 to 90.0 give reasonable results
"<vent>" : The fraction of the triangular arrow-head that is cut away from the back. 0.0 gives a triangular wedge arrow-head; 1.0 gives an open >. Values 0.3 to 0.7
TCL SYNTAX:
pgSave
TCL HELP STRING:
Save the current PGPLOT attributes in a private storage area. Attributes saved are: character font, character height, color index, fill-area style, line style, line width, pen position, arrow-head style.
TCL ARGUMENTS:
:
TCL SYNTAX:
pgScir "<icilo>" "<icihi>"
TCL HELP STRING:
Set the color index range to be used for producing images with PGGRAY or PGIMAG.
TCL ARGUMENTS:
:
"<icilo>" : The lowest color index to use for images
"<icihi>" : The highest color index to use for images
TCL SYNTAX:
pgScrn "<ci>" "<name>"
TCL HELP STRING:
Set color representation: i.e., define the color to be associated with a color index.
TCL ARGUMENTS:
:
"<ci>" : the color index to be defined. index 0 applies to the background color.
"<name>" : the name of the color to be associated with this color index.
TCL SYNTAX:
pgSitf "<itf>"
TCL HELP STRING:
Set the Image Transfer Function for subsequent images drawn by PGIMAG, PGGRAY, or PGWEDG.
TCL ARGUMENTS:
:
"<itf>" : type of transfer function:
0 : linear
1 : logarithmic
2 : square-root
TCL SYNTAX:
pgStbg "<tbci>"
TCL HELP STRING:
Set the Text Background Color Index for subsequent text. By default text does not obscure underlying graphics. If the text background color index is positive, text is opaque
TCL ARGUMENTS:
:
"<tbci>" : The color index to be used for the background for subsequent text plotting:
TBCI < 0 => transparent (default)
TBCI >= 0 => text will be drawn on an opaque background with color index TBCI.
TCL SYNTAX:
pgSubp "<nxsub>" "<nysub>"
TCL HELP STRING:
divides the physical surface of the plotting device (screen, window, or sheet of paper) into NXSUB x NYSUB `panels'.
TCL ARGUMENTS:
:
"<nxsub>" : The number of subdivisions of the view surface in X. If NXSUB > 0, PGPLOT uses the panels in row order; if <0, PGPLOT uses them in column order.
"<nysub>" : The number of subdivisions of the view surface in Y
TCL SYNTAX:
pgTbox "<xopt>" "<xtick>" "<nxsub>" "<yopt>" "<ytick>" "<nysub>"
TCL HELP STRING:
Draw a box and optionally label one or both axes with (DD) HH MM SS tyle numeric labels (useful for time or RA - DEC plots).
TCL ARGUMENTS:
:
"<xopt>" : 'Z', 'Y', 'H', 'D', 'F' or 'O'.
"<xtick>" : X-axis major tick increment.
"<nxsub>" : Number of intervals for minor ticks on X-axis.
"<yopt>" : 'Z', 'Y', 'H', 'D', 'F' or 'O'.
"<ytick>" : Y-axis major tick increment.
"<nysub>" : Number of intervals for minor ticks on Y-axis.
TCL SYNTAX:
pgUnsa
TCL HELP STRING:
Restore the PGPLOT attributes saved in the last call to pgSave
TCL ARGUMENTS:
:
TCL SYNTAX:
pgWedge "<side>" "<disp>" "<width>" "<fg>" "<bg>" "<label>"
TCL HELP STRING:
Plot an annotated grey-scale or color wedge parallel to a given axis.
TCL ARGUMENTS:
:
"<side>" : Two character string (B, L, T, R) and (I, G)
"<disp>" : Displacement of wedge from viewport edge.
"<width>" : Width of wedge in units of character height
"<fg>" : The value which is to appear with shade 1 (foreground).
"<bg>" : The value which is to appear with shade 0 (background).
"<label>" : Units label
TCL SYNTAX:
pgVect "<a>" "<b>" "<i1>" "<i2>" "<ji>" "<j2>" "<c>" "<nc>" "<tr>" "<blank>"
TCL HELP STRING:
Draw a vector map of two arrays.
TCL ARGUMENTS:
:
"<a>" : horizontal component data array
"<b>" : vertical component data array
"<i1>" : lower limit of range of first index to be mapped (inclusive)
"<i2>" : upper limit of range of first index to be mapped (inclusive)
"<ji>" : lower limit of range of second index to be mapped (inclusive)
"<j2>" : upper limit of range of second index to be mapped (inclusive)
"<c>" : scale factor for vector lengths,
if 0.0, longest vector will be smaller of
tr(2)+tr(3) and tr(5)+tr(6)
"<nc>" : vector positioning code
<0 : vector head on coords
>0 : vector base on coords
=0 : cvector centered on coords
"<tr>" : array defining a transformation between the I,J grid of the array and the world coordinates
"<blank>" : elements of arrays A or B that are exactly equal to this value are ignored (blanked)