Changeset 223 for trunk/SRC/ToBeReviewed/PLOTS/DESSINE/scontour.pro
- Timestamp:
- 03/14/07 18:13:39 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/scontour.pro
r163 r223 4 4 ;+ 5 5 ; 6 ; @ File_comments6 ; @file_comments 7 7 ; Same thing that contour but compatible with the whole environment (common.pro included) 8 8 ; 9 ; @categories 9 ; @categories 10 10 ; Graphics 11 11 ; 12 12 ; @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 14 14 ; to be reinitilalizated by the procedure reinitplt 15 ; 15 ; 16 16 ; @keyword _EXTRA 17 17 ; used to pass your keywords … … 21 21 ; 22 22 ; @examples 23 ; IDL> z = dist(100) 23 ; IDL> z = dist(100) 24 24 ; IDL> scontour, z, nlevels=10,small=[1,2,1],xstyle=1,ystyle=1 25 25 ; IDL> \@ps 26 26 ; 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 ; 30 31 ; @version 31 32 ; $Id$ … … 40 41 ; 41 42 @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 45 46 ; if ex contains norease and c_orientation keywords we force ex.noerase = 0 46 47 IF chkstru(ex, 'overplot') EQ 0 THEN placedessin, 'autre', _extra = ex … … 53 54 dummy = where(alltags EQ 'noerase', count1) 54 55 dummy = where(alltags EQ 'c_orientation', count2) 55 IF count1*count2 NE 0 THEN BEGIN 56 IF count1*count2 NE 0 THEN BEGIN 56 57 case n_params() OF 57 58 1:contour, x, /nodata, _EXTRA = ex … … 62 63 ex = get_extra(/overplot, _extra = ex) 63 64 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 67 68 case n_params() OF 68 69 1:contour, x, xstyle = 1, ystyle = 1, _EXTRA = ex … … 81 82 ENDIF 82 83 ; 4) End of drawing 83 terminedessin, _extra = ex 84 terminedessin, _extra = ex 84 85 85 86 return
Note: See TracChangeset
for help on using the changeset viewer.