Ignore:
Timestamp:
03/19/07 18:15:51 (17 years ago)
Author:
pinsard
Message:

improvements/corrections of some *.pro headers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/ToBeReviewed/PLOTS/DESSINE/pltsc.pro

    r163 r231  
    22; @file_comments 
    33; 
    4 ; 
    54; @categories 
    6 ; 
    75; 
    86; @param TAB1 
    97; 
    10 ; 
    118; @param TAB2 
    12 ; 
    139; 
    1410; @param MIN1 
    1511; 
    16 ; 
    1712; @param MAX1 
    18 ; 
    1913; 
    2014; @param MIN2 
    2115; 
    22 ; 
    2316; @param MAX2 
    24 ; 
    2517; 
    2618; @param VARNAME2 
    2719; 
    28 ; 
    2920; @keyword BOXZOOM 
    30 ; Vector indicating the geographic zone on which we want to cut the map.  
     21; Vector indicating the geographic zone on which we want to cut the map. 
    3122;  If BOXZOOM has : 
    3223; 1 element : The extraction is made on [lon1, lon2, lat1, lat2, 0.,boxzoom[0]] 
     
    3829; @keyword COL1D 
    3930; 
    40 ; 
    4131; @keyword STY1D 
    42 ; 
    4332; 
    4433; @keyword OV1D 
    4534; 
    46 ; 
    4735; @keyword _EXTRA 
    48 ; Used to pass your keywords 
     36; Used to pass keywords 
    4937; 
    5038; @returns 
    5139; 
    52 ; 
    5340; @uses 
    54 ; 
    5541; 
    5642; @restrictions 
    5743; 
    58 ; 
    5944; @examples 
    6045; 
    61 ; 
    6246; @history 
    63 ; 
    6447; 
    6548; @version 
     
    7457; scatter plot (inspired from plt1d) 
    7558; 
    76 ; 
    7759  compile_opt idl2, strictarrsubs 
    7860; 
    79  
    80 ;--------------------------------------------------------- 
    81 ; include common 
    8261@cm_4mesh 
    8362@cm_4data 
     
    8665@updatekwd 
    8766  ENDIF 
    88 ;-------------------------------------------------------------- 
    8967 
    9068; Comment: We do not reinitializate when we call back pltsc 
     
    9270   ;; reduce data xyzt domain 
    9371 
    94    if keyword_set(boxzoom) then BEGIN  
     72   if keyword_set(boxzoom) then BEGIN 
    9573     Case 1 Of 
    9674       N_Elements(Boxzoom) Eq 1:bte = [lon1, lon2, lat1, lat2, 0., boxzoom[0]] 
     
    10078       N_Elements(Boxzoom) Eq 6:bte = Boxzoom 
    10179       Else: Begin 
    102          ras = report('Wrong Definition of Boxzoom')  
     80         ras = report('Wrong Definition of Boxzoom') 
    10381         return 
    10482       End 
     
    122100   IF finite(min2) EQ 0 THEN min2 = min(tab2) 
    123101   IF finite(max2) EQ 0 THEN max2 = max(tab2) 
    124     
     102 
    125103 
    126104; init plot if not overlay 
    127     
     105 
    128106   IF NOT keyword_set(ov1d) THEN placedessin, 'yfx', posfenetre, posbar, $ 
    129107    contour = contour, _extra = ex 
     
    137115   IF (NOT keyword_set(sty1d)) THEN sty1d = 0 
    138116   IF (NOT keyword_set(col1d)) THEN col1d = 0 
    139    IF  NOT keyword_set(ov1d) THEN  BEGIN  
    140       legende, min1, max1, 'yfx', VARNAME2 = varname2, NPTS = npts, _EXTRA = ex  
     117   IF  NOT keyword_set(ov1d) THEN  BEGIN 
     118      legende, min1, max1, 'yfx', VARNAME2 = varname2, NPTS = npts, _EXTRA = ex 
    141119; 
    142120      plot,xx,yy, background = 255, psym = sty1d+1, color=col1d, thick=2 $ 
    143121       , title = '', subtitle = '',_extra = ex 
    144122 
    145       if n_elements(ex) NE 0 then BEGIN  
     123      if n_elements(ex) NE 0 then BEGIN 
    146124; To have a 0 colored frame and trace a line at y=0 
    147125         if (where(tag_names(ex) EQ 'COLOR'))[0] NE -1 then ex.COLOR = 0 
     
    162140;------------------------------------------------------------ 
    163141   if n_elements(key_performance) NE 0 then $ 
    164     IF key_performance EQ 1 THEN print, 'temps plt1d', systime(1)-tempsun  
     142    IF key_performance EQ 1 THEN print, 'temps plt1d', systime(1)-tempsun 
    165143;------------------------------------------------------------ 
    166144;------------------------------------------------------------ 
     
    168146   return 
    169147end 
    170  
    171  
Note: See TracChangeset for help on using the changeset viewer.