1
! @(#)splsear.prg 19.1 (ES0-DMD) 02/25/03 14:29:22
2
! @(#)splsear.prg 19.1 (ESO) 02/25/03 14:29:22
3
!+++++++++++++++++++++++++++++++++++++++++++++++++++++++
4
!.COPYRIGHT (C) 1994 European Southern Observatory
6
!.AUTHORS Pascal Ballester (ESO/Garching)
7
!.KEYWORDS Spectroscopy
8
!.PURPOSE General module for PLOT/SEARCH commands
9
!.VERSION 1.0 Package Creation 15-FEB-1994
10
!-------------------------------------------------------
12
define/param P1 2D CHAR "Mode (1D/2D)"
13
define/param P2 ? TAB "Input table:"
14
define/param P3 {WLC} IMA "Image:"
15
define/param P4 0 NUMB "Y Position:"
19
set/graph pmode=1 font=1
21
define/local nrow/I/1/1 0
22
define/local nplot/I/1/1 {P4}
24
IF {{P3},NAXIS} .EQ. 1 THEN
30
IF nplot .eq. 0 nplot = nrow/2 + 1
32
IF nrow .EQ. 1 .OR. P1(1:1) .EQ. "1" THEN
33
PLOT/ROW {WLC} @{nplot}
35
OVERPLOT/IDENT {P2} :X :X TOP
38
set/graph ltype=0 stype=1