MIDAS provides a command
PLOT/CONTOURto produce contour plots on the graphics device from data binned to an image. In case contours are to be plotted for a certain confidence level of source counts above background the following procedure is recommended to be used.
Load the image, select and extract a subimage by the SELECT/CURSOR command, apply the STATISTIC/IMAGE command on the subimage. The mean background counts are determined from the keyword OUTPUTR(3), the 1 contour above the background from the keyword OUTPUTR(4). 2,3,4,5 contours above the background can then be drawn with the command
PLOT/CONTOUR image ? ? {OUTPUTR(3)}+2.*{OUTPUTR(4)},{OUTPUTR(3)}- +3.*{OUTPUTR(4)},{OUTPUTR(3)}+4.*{OUTPUTR(4)},{OUTPUTR(3)}+5.*{OUTPUTR(4)}Contours can also be overlaid with the command ADD/CONTOUR, see section 5.2.39.