Ignore:
Timestamp:
08/29/06 14:59:46 (18 years ago)
Author:
navarro
Message:

header improvements : type of parameters and keywords, default values, spell checking + idldoc assistant (IDL online_help)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Picture/imdisp.pro

    r157 r163  
    33; @hidden 
    44;- 
    5 FUNCTION IMDISP_GETPOS, ASPECT, POSITION=POSITION, MARGIN=MARGIN 
     5FUNCTION imdisp_getpos, ASPECT, POSITION=POSITION, MARGIN=MARGIN 
    66; 
    77  compile_opt idl2, strictarrsubs 
     
    5353; @hidden 
    5454;- 
    55 FUNCTION IMDISP_IMSCALE, IMAGE, RANGE=RANGE, BOTTOM=BOTTOM, NCOLORS=NCOLORS, $ 
     55FUNCTION imdisp_imscale, IMAGE, RANGE=RANGE, BOTTOM=BOTTOM, NCOLORS=NCOLORS, $ 
    5656  NEGATIVE=NEGATIVE 
    5757; 
     
    8787; @hidden 
    8888;- 
    89 FUNCTION IMDISP_IMREGRID, DATA, NX, NY, INTERP=INTERP 
     89FUNCTION imdisp_imregrid, DATA, NX, NY, INTERP=INTERP 
    9090; 
    9191  compile_opt idl2, strictarrsubs 
     
    131131; @hidden 
    132132;- 
    133 PRO IMDISP_IMSIZE, IMAGE, X0, Y0, XSIZE, YSIZE, ASPECT=ASPECT, $ 
     133PRO imdisp_imsize, IMAGE, X0, Y0, XSIZE, YSIZE, ASPECT=ASPECT, $ 
    134134  POSITION=POSITION, MARGIN=MARGIN 
    135135; 
     
    223223; [3, NX, NY], [NX, 3, NY], or [NX, NY, 3] form. 
    224224; 
    225 ; @keyword RANGE 
     225; @keyword RANGE {type=vector}{default=min and max array values} 
    226226; For Pseudo Color images only, a vector with two elements 
    227227; specifying the minimum and maximum values of the image 
    228228; array to be considered when the image is byte-scaled 
    229 ; (default is minimum and maximum array values). 
    230229; This keyword is ignored for True Color images, 
    231230; or if the NOSCALE keyword is set. 
    232231; 
    233 ; @keyword BOTTOM 
     232; @keyword BOTTOM {default=0} 
    234233; Bottom value in the color table to be used 
    235 ; for the byte-scaled image 
    236 ; (default is 0). 
     234; for the byte-scaled image. 
    237235; This keyword is ignored if the NOSCALE keyword is set. 
    238236; 
    239 ; @keyword NCOLORS 
     237; @keyword NCOLORS {default=!D.TABLE_SIZE - BOTTOM} 
    240238; Number of colors in the color table to be used 
    241239; for the byte-scaled image 
    242 ; (default is !D.TABLE_SIZE - BOTTOM). 
    243240; This keyword is ignored if the NOSCALE keyword is set. 
    244241; 
    245 ; @keyword MARGIN 
     242; @keyword MARGIN {default=0.1 or 0.025 if !P.MULTI is set to display multiple images} 
    246243; A scalar value specifying the margin to be maintained 
    247244; around the image in normal coordinates 
    248 ; (default is 0.1, or 0.025 if !P.MULTI is set to display 
    249 ; multiple images). 
    250 ; 
    251 ; @keyword INTERP 
     245; 
     246; @keyword INTERP {default=nearest neighbor sampling} 
    252247; If set, the resized image will be interpolated using 
    253248; bilinear interpolation 
    254 ; (default is nearest neighbor sampling). 
    255 ; 
    256 ; @keyword DITHER 
     249; 
     250; @keyword DITHER {default=no dithering} 
    257251; If set, true color images will be dithered when displayed 
    258252; on an 8-bit graphics device 
    259 ; (default is no dithering). 
    260 ; 
    261 ; @keyword ASPECT 
     253; 
     254; @keyword ASPECT {default=maintain native aspect ratio} 
    262255; A scalar value specifying the aspect ratio (height/width) 
    263256; for the displayed image 
    264 ; (default is to maintain native aspect ratio). 
    265257; 
    266258; @keyword POSITION {default= [0.0,0.0,1.0,1.0]} 
     
    275267; actually used to display the image. 
    276268; 
    277 ; @keyword NOSCALE 
    278 ; If set, the image will not be byte-scaled 
    279 ; (default is to byte-scale the image). 
    280 ; 
    281 ; @keyword NORESIZE 
     269; @keyword NOSCALE {default=to byte-scale the image} 
     270; If set, the image will not be byte-scaled. 
     271; 
     272; @keyword NORESIZE {default=To resize the image to fit the display} 
    282273; If set, the image will not be resized. 
    283 ; (default is to resize the image to fit the display). 
    284 ; 
    285 ; @keyword ORDER 
     274; 
     275; @keyword ORDER {default=To display the image from the bottom up} 
    286276; If set, the image is displayed from the top down 
    287 ; (default is to display the image from the bottom up). 
    288277; Note that the system variable !ORDER is always ignored. 
    289278; 
    290 ; @keyword USEPOS 
     279; @keyword USEPOS {default=To honor ASPECT and MARGIN when POSITION vector is supplied} 
    291280; If set, the image will be sized to exactly fit a supplied 
    292 ; POSITION vector, over-riding ASPECT and MARGIN 
    293 ; (default is to honor ASPECT and MARGIN when a POSITION 
    294 ; vector is supplied). 
     281; POSITION vector, over-riding ASPECT and MARGIN. 
    295282; 
    296283; @keyword CHANNEL 
     
    496483;- 
    497484;------------------------------------------------------------------------------- 
    498 PRO IMDISP, IMAGE, RANGE=RANGE, BOTTOM=BOTTOM, NCOLORS=NCOLORS, $ 
     485PRO imdisp, IMAGE, RANGE=RANGE, BOTTOM=BOTTOM, NCOLORS=NCOLORS, $ 
    499486  MARGIN=MARGIN, INTERP=INTERP, DITHER=DITHER, ASPECT=ASPECT, $ 
    500487  POSITION=POSITION, OUT_POS=OUT_POS, NOSCALE=NOSCALE, NORESIZE=NORESIZE, $ 
Note: See TracChangeset for help on using the changeset viewer.