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/placecolor.pro

    r163 r231  
    1 ;------------------------------------------------------------ 
    2 ;------------------------------------------------------------ 
    3 ;------------------------------------------------------------ 
    41;+ 
    52; 
     
    1411; 
    1512; @param POS 
    16 ; Vector composed by 4 elements giving coordinates of the left bottom  
     13; Vector composed by 4 elements giving coordinates of the left bottom 
    1714; corner and of the right up one -in cm- in which we want to do the color bar 
    1815; 
    19 ; @keyword _extra 
    20 ; used to pass your keywords 
     16; @keyword _EXTRA 
     17; Used to pass keywords 
    2118; 
    2219; @uses 
     
    3431; 
    3532;- 
    36 ;------------------------------------------------------------ 
    37 ;------------------------------------------------------------ 
    38 ;------------------------------------------------------------ 
     33; 
    3934pro placecolor, pos, _extra = ex 
    40 ;------------------------------------------------------------ 
    41 ; include commons 
    4235; 
    4336  compile_opt idl2, strictarrsubs 
     
    4740@updatenew 
    4841   ENDIF 
    49 ;--------------------- 
    5042; 
    5143   xsave = !x 
     
    5749   mipgsz = min(page_size, max = mapgsz) 
    5850   if key_portrait eq 1 then begin 
    59       pos[0]=pos[0]/mipgsz   
    60       pos[1]=pos[1]/mapgsz     
    61       pos[2]=pos[2]/mipgsz  
    62       pos[3]=pos[3]/mapgsz     
     51      pos[0]=pos[0]/mipgsz 
     52      pos[1]=pos[1]/mapgsz 
     53      pos[2]=pos[2]/mipgsz 
     54      pos[3]=pos[3]/mapgsz 
    6355   endif else begin 
    64       pos[0]=pos[0]/mapgsz     
    65       pos[1]=pos[1]/mipgsz     
    66       pos[2]=pos[2]/mapgsz     
    67       pos[3]=pos[3]/mipgsz     
     56      pos[0]=pos[0]/mapgsz 
     57      pos[1]=pos[1]/mipgsz 
     58      pos[2]=pos[2]/mapgsz 
     59      pos[3]=pos[3]/mipgsz 
    6860   ENDELSE 
    6961; 
     
    7567; 
    7668      colnumb = colorbarparam.colnumb 
    77       clbinf = colorbarparam.clbinf  
     69      clbinf = colorbarparam.clbinf 
    7870      clbsup = colorbarparam.clbsup 
    7971      clbdiv = colorbarparam.clbdiv 
     
    8274      file = myuniquetmpdir + '4colorbar.dat' 
    8375      IF file_test(file) THEN BEGIN 
    84          restore, file         
    85          if size(ex, /type) EQ 8 then BEGIN  
     76         restore, file 
     77         if size(ex, /type) EQ 8 then BEGIN 
    8678            if (where(tag_names(ex) EQ 'MIN'))[0] NE -1 then clbinf = ex.MIN 
    8779            if (where(tag_names(ex) EQ 'MAX'))[0] NE -1 then clbsup = ex.MAX 
     
    9991   !y = ysave 
    10092   !p = psave 
    101 ;------------------------------------------------------------ 
     93; 
    10294   return 
    10395end 
Note: See TracChangeset for help on using the changeset viewer.