Ignore:
Timestamp:
03/14/07 18:13:39 (17 years ago)
Author:
pinsard
Message:

improvements of some *.pro

File:
1 edited

Legend:

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

    r163 r223  
    44;+ 
    55; 
    6 ; @File_comments 
     6; @file_comments 
    77; Same thing that contour but compatible with the whole environment (common.pro included) 
    88; 
    9 ; @categories  
     9; @categories 
    1010; Graphics 
    1111; 
    1212; @keyword NOREINITPLT 
    13 ; We active it if we do not want environment variables !p, !x, !y, !z  
     13; We active it if we do not want environment variables !p, !x, !y, !z 
    1414; to be reinitilalizated by the procedure reinitplt 
    15 ;  
     15; 
    1616; @keyword _EXTRA 
    1717; used to pass your keywords 
     
    2121; 
    2222; @examples 
    23 ;      IDL> z = dist(100)  
     23;      IDL> z = dist(100) 
    2424;      IDL> scontour, z, nlevels=10,small=[1,2,1],xstyle=1,ystyle=1 
    2525;      IDL> \@ps 
    2626; 
    27 ; @history Sebastien Masson (smasson\@lodyc.jussieu.fr) 
    28 ;                      10/10/1999 
    29 ;  
     27; @history 
     28; Sebastien Masson (smasson\@lodyc.jussieu.fr) 
     29; 10/10/1999 
     30; 
    3031; @version 
    3132; $Id$ 
     
    4041; 
    4142@common 
    42 ; 1) I reinitializate the graphic environment (variables !x, !y et !p):  
    43   if NOT keyword_set(NOREINITPLT) then reinitplt, _extra = ex  
    44 ; 2) i put the drawing on the screen like on the postcript  
     43; 1) I reinitializate the graphic environment (variables !x, !y et !p): 
     44  if NOT keyword_set(NOREINITPLT) then reinitplt, _extra = ex 
     45; 2) i put the drawing on the screen like on the postcript 
    4546; if ex contains norease and c_orientation keywords we force ex.noerase = 0 
    4647  IF chkstru(ex, 'overplot') EQ 0 THEN placedessin, 'autre', _extra = ex 
     
    5354    dummy = where(alltags EQ 'noerase', count1) 
    5455    dummy = where(alltags EQ 'c_orientation', count2) 
    55     IF count1*count2 NE 0 THEN BEGIN  
     56    IF count1*count2 NE 0 THEN BEGIN 
    5657      case n_params() OF 
    5758        1:contour, x, /nodata, _EXTRA = ex 
     
    6263      ex = get_extra(/overplot, _extra = ex) 
    6364      noerase_orientation = 1 
    64     ENDIF  
    65   ENDIF  
    66 ; 3) je fais mon joli dessin  
     65    ENDIF 
     66  ENDIF 
     67; 3) je fais mon joli dessin 
    6768  case n_params() OF 
    6869    1:contour, x, xstyle = 1, ystyle = 1, _EXTRA = ex 
     
    8182  ENDIF 
    8283; 4) End of drawing 
    83   terminedessin, _extra = ex  
     84  terminedessin, _extra = ex 
    8485 
    8586  return 
Note: See TracChangeset for help on using the changeset viewer.