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/DIVERS/axis4pltz.pro

    r172 r231  
    1 ;------------------------------------------------------------ 
    2 ;------------------------------------------------------------ 
    3 ;------------------------------------------------------------ 
    41;+ 
    52; 
     
    96; @param MASK {in}{required} 
    107;  3d mask 
    11 ;         
     8; 
    129; @param GLAM {in}{required} 
    13 ; 2d longitude  
    14 ;  
     10; 2d longitude 
     11; 
    1512; @param GPHI {in}{required} 
    1613; 2d latitude 
     
    1916; 1d depth 
    2017; 
    21 ; @keyword XXAXIS  
     18; @keyword XXAXIS 
    2219; to get the xaxis we need to use in pltbase 
    23 ;       
    24 ; @keyword ZZAXIS  
     20; 
     21; @keyword ZZAXIS 
    2522; to get the yaxis we need to use in pltbase 
    2623; 
    27 ; @keyword SIN  
    28 ; Activate this keyword if we want the x axis to be traced in sinus of the  
     24; @keyword SIN 
     25; Activate this keyword if we want the x axis to be traced in sinus of the 
    2926; latitude when we make a drawing f(y) 
    3027; 
    3128; @keyword ZRATIO {default=2./3} 
    32 ; When the drawing has a zoomed part, it is the size rapport between the zoomed part,  
     29; When the drawing has a zoomed part, it is the size rapport between the zoomed part, 
    3330; hz (zoom height), and the whole drawing, ht (total height). 
    3431; 
    3532; @keyword _EXTRA 
    36 ; used to pass your keywords 
    37 ;  
    38 ;  Others: see pltz  
     33; Used to pass keywords 
     34; 
     35;  Others: see pltz 
    3936; 
    4037; 
     
    4744; 
    4845;- 
    49 ;------------------------------------------------------------ 
    50 ;------------------------------------------------------------ 
    51 ;------------------------------------------------------------ 
    52  
     46; 
    5347PRO axis4pltz, type, mask, glam, gphi, z, XXAXIS = xxaxis, ZZAXIS = zzaxis, SIN = sin, ZRATIO = zratio, ZOOM = zoom, PROFMAX = profmax, PROFMIN = profmin, _extra = ex 
    54 ; 
    55 ; include common 
    5648; 
    5749  compile_opt idl2, strictarrsubs 
     
    6153@updatekwd 
    6254  ENDIF 
    63    
     55 
    6456;-------------------------------------------------------------------- 
    6557; define the mask used for this section 
     
    8274  ENDCASE 
    8375; 
    84   if type eq 'yz' then BEGIN  
    85     IF (size(gphi))[0] EQ 1 then xxaxis = gphi ELSE BEGIN  
    86       IF keyword_set(key_irregular) THEN BEGIN  
     76  if type eq 'yz' then BEGIN 
     77    IF (size(gphi))[0] EQ 1 then xxaxis = gphi ELSE BEGIN 
     78      IF keyword_set(key_irregular) THEN BEGIN 
    8779        cln = (where(gphi EQ max(gphi)))[0] 
    8880        xxaxis = reform(gphi[cln MOD nx, *]) 
     
    9284  ENDIF ELSE BEGIN 
    9385    xxaxis = glam[*, 0] 
    94   ENDELSE  
     86  ENDELSE 
    9587  zzaxis = z 
    9688;---------------------------------------------------------- 
     
    113105; to draw from bottom to top (avoid using cell_fill) 
    114106  CASE size(zzaxis, /n_dimensions) OF 
    115     1:zzaxis = reverse(-zzaxis)  
    116     2:zzaxis = reverse(-zzaxis, 2)  
     107    1:zzaxis = reverse(-zzaxis) 
     108    2:zzaxis = reverse(-zzaxis, 2) 
    117109  ENDCASE 
    118110  if mask[0] NE -1 then mask = reverse(mask, 2) 
Note: See TracChangeset for help on using the changeset viewer.