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:
READFcommand 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:
READFhas been fixed so that it is possible to once again read data from more than one file.
FITLINEhave been corrected.
GRIDcommand 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).
YLINEARcommand now works!
VP_xxcommands have been modified to accept an argument which indicates that space around the viewport should be reserved for any labels.
FITCURVEnow uses the
XMAXparameters as described (polynomial curves previously used all the data). The
YMINparameters are no longer used. It also now writes any polynomial coefficients to a file (this can be read by
FITCURVEhas also had a memory control bug fixed.
CURSEnow also reports approximate sky coordinates when reading the cursor positions.
FILLSTYhas been introduced. This conveniently sets the fill-style attributes (for polygons and histograms).
DRAWPOLYhas been introduced. This draws polygons that can be filled.
SETPROJhas been introduced. This sets the projection geometry related global variables (under CL this sets all the parameters of the projection aware commands).
PRIMcommand now allows projections for all its actions (this also effects the commands,
DRAW). Note that the lines drawn are straight-lines on the plot surface, not great circles. The
GT_CIRCLEcommand already supplies this ability.
XOFFSETnow 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
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
PVECT commands and
how to label astrometric projections. The AGI example has been expanded to show the
FITCURVE have been changed to remove the NAG dependency of
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
The ability to plot labels of the form HH MM SS.S and DD MM SS.S has been added to the
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
Other changes are:
CHANGEcommand now supports hatched fill styles and sets the text background colour.
INQUIREcommand reports the hatched fill style and text background colour.
PLOTHISThistograms can now be filled.