If the supplied Plot contains a "AGI Data" Frame with the Domain given by DDOM in which the axes are scaled and shifted versions of the axes of the AGI world co-ordinate Frame (specified by argument WDOM), then a TRANSFORM structure defining AGI Data co-ordinates is stored with the DATA picture. This is purely for the benefit of non-AST based applications which may use AGI Data co-ordinates (AST-based applications should always use the Plot stored with the picture in preference to the TRANSFORM structure stored in the AGI database).
Any Frames that are Regions and have a Domain beginning with "ROI" are deleted from the Plot before saving it. Also, any Frames that have an Ident value beginning with "ROI" are also deleted from the Frame (these may be added by KPG1_ASGET).
KAPLIBS -- Internal subroutines used within the KAPPA package.