PONGO now uses native PGPLOT for plotting rather than the deprecated Starlink GKS PGPLOT. This should fix plotting and interoperability problems with recent versions of KAPPA.
PONGO has been considerably extended to now work from the IRAF/CL command language. To use this load the pongo package. The commands that are available are the same as when running from ICL.
Other changes of note are:
READF command has been changed so that ‘@’ is no longer needed when using an ICL
variable to store the file name. This is INCOMPATIBLE with previous behaviour and any scripts
using the ‘@’ form will need changing, i.e. lines with statements like:
Should be changed to:
READF has been fixed so that it is possible to once again read data from more than one
file.
FITLINE have been corrected.
GRID command section.
This command now also attempts to complete latitude lines to their end points (this reduces the
ragged appearance at the ends of latitude lines).
YLINEAR command now works!
VP_xx commands have been modified to accept an argument which indicates that space
around the viewport should be reserved for any labels.
FITCURVE now uses the XMIN and XMAX parameters as described (polynomial curves previously
used all the data). The YMAX and YMIN parameters are no longer used. It also now writes any
polynomial coefficients to a file (this can be read by PLOTFUN).
FITCURVE has also had a memory control bug fixed.
CURSE now also reports approximate sky coordinates when reading the cursor positions.
FILLSTY has been introduced. This conveniently sets the fill-style attributes
(for polygons and histograms).
DRAWPOLY has been introduced. This draws polygons that can be
filled.
SETPROJ has been introduced. This sets the projection geometry
related global variables (under CL this sets all the parameters of the projection aware
commands).
PRIM command now allows projections for all its actions (this also effects the commands,
MOVE and DRAW). Note that the lines drawn are straight-lines on the plot surface, not great circles.
The GT_CIRCLE command already supplies this ability.
XSCALE, YSCALE, YOFFSET and XOFFSET now allow negative factors.
PONGO has been updated to fix several problems with the BEGPLOT command. This now correctly
selects the last AGI DATA picture when OVERLAY is set (so that for instance KAPPA images can be
labelled), and avoids problems when selecting pictures using labels (which resulted in a runaway
device open error condition).
If ICL is exited before closing PONGO (using the ENDPLOT command) a warning is now issued and an
attempt to repair the AGI database is now made.
A bug in the ANNOTATE command has been fixed. This command now correctly handles the RACENTRE
and DECCENTRE parameters.
All PONGO command descriptions now include a usage section. This shows the order of any positional parameters explicitly.
A new example procedure has been added to show the use of the VECT and PVECT commands and
how to label astrometric projections. The AGI example has been expanded to show the
results.
The routines PLOTFUN and FITCURVE have been changed to remove the NAG dependency of
PONGO.
The FITCURVE command now fits a general, rather than a Chebyshev polynomial and now has the
ability to fit B-splines. Both these functions can be re-plotted by the PLOTFUN command.
The ability to plot labels of the form HH MM SS.S and DD MM SS.S has been added to the BOXFRAME
command.
To use this just read in your positions in radians (the PONGO command READF already does this for
you if the positions are in HH:MM:SS, DD:MM:SS format, or the DEGTOR command will convert columns
from degrees to radians) and then use a command like:
This now uses the PGPLOT routine PGTBOX. BOXFRAME has also been modified to allow the
use of the "1" and "2" option flags which force the labels to be all decimal or exponential
format.
Other changes are:
CHANGE command now supports hatched fill styles and sets the text background
colour.
INQUIRE command reports the hatched fill style and text background colour.
PLOTHIST histograms can now be filled.