Program: BLOT Purpose: Conditional transfer of maps using blotch region. Category: DISPLAY, MANIPULATION File: blot.c Author: K.G. Begeman Description: BLOT allows the user to define areas of interrest with the cursor of the display device. Data inside or outside the user defined region can be set to BLANK. Keywords: INSET= Set and subset(s) to be blotched. Maximum number of subsets is 500. Dimension of subsets must be 2. ** BOX= Select area to be blotched [whole subset]. CLIP= Lower and upper clip levels for display [min. and max. from subsets]. OUTSET= Set and subset(s) for results. WITHIN= Values withing blotch region transferred unchanged? [Y]. If No, values outside blotch region are unchanged. ** DISPLAY= Name of display device [DEFAULT_DISPLAY]. ** GRPLANE= Graphics plane to be used [1]. ** GRCOLOR= Color of graphics plane in RGB intensities [0.5,0.0,0.5]. ** GRCLEAR= Clear graphics plane before defining? [Y]. ** GMARKER= Deputize GMARKER to mark some positions in another graphics plane [N]. The keywords GRPLANE=, GRCOLOR= and GRCLEAR= for GMARKER will be changed into MPLANE=, MCOLOR= and MCLEAR=. --------------------------------------------------------- Next the programme will display the data and allow the user to define some regions. The user should go to the Etcetera menu in GIDS and press Region. After pressing Define the user can define several regions with the cursor. The left mouse button defines the polygon, the middle mouse button remove the last draw line of the polygon and the right mouse button closes the polygon. When all regions have been defined, the user should press Ready. Then the programme reads the regions defined by the user. --------------------------------------------------------- Example: BLOT BLOT Version 1.0 (Nov 20 1991) BLOT INSET=ngc4214 1 Set ngc4214 has 3 axes RA-NCP from -127 to 128 DEC-NCP from -127 to 128 FREQ-OHEL from 1 to 63 BOX range for set ngc4214 : RA-NCP from -127 to 128 DEC-NCP from -127 to 128 BLOT CLIP= BLOT OUTSET=mask Set mask has 3 axes RA-NCP from -127 to 128 DEC-NCP from -127 to 128 FREQ-OHEL from 1 to 1 BLOT WITHIN= BLOT +++ FINISHED +++ Updates: Jan 4, 1991: KGB Document created. Dec 11, 1991: KGB Cancel replaced by reject. Feb 15, 1995: KGB Keyword GMARKER= implemented.