Ignore:
Timestamp:
03/16/07 10:22:26 (17 years ago)
Author:
pinsard
Message:

corrections of some misspellings in some *.pro

Location:
trunk/SRC/ToBeReviewed/PLOTS/DIVERS
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/ToBeReviewed/PLOTS/DIVERS/barrecouleur.pro

    r163 r226  
    55; 
    66; @file_comments 
    7 ; Overlayeur of colorbar 
     7; Overlayer of colorbar 
    88; 
    99; @categories 
     
    2323; 
    2424; @keyword NOCOLORBAR 
    25 ;  
     25; 
    2626; 
    2727; @keyword CB_TITLE 
    28 ;  
     28; 
    2929; 
    3030; @keyword NOFILL 
    31 ;  
     31; 
    3232; 
    3333; @keyword COLOR_c 
    34 ;  
     34; 
    3535; 
    3636; @keyword MIN 
     
    4141; 
    4242; @keyword DIVISIONS 
    43 ;  
     43; 
    4444; 
    4545; @keyword CB_SUBTITLE 
    46 ;  
     46; 
    4747; 
    4848; @keyword POST 
    49 ;  
     49; 
    5050; 
    5151; @keyword _EXTRA 
     
    8484  if keyword_set(divisions) THEN  clbdiv = divisions 
    8585  nocolorbar = keyword_set(nocolorbar) + keyword_set(nofill) $ 
    86                + keyword_set(color_c)   
     86               + keyword_set(color_c) 
    8787;------------------------------------------------------------ 
    8888    def_myuniquetmpdir 
     
    9999   ENDELSE 
    100100;------------------------------------------------------------ 
    101    if keyword_set(nocolorbar) then return  
     101   if keyword_set(nocolorbar) then return 
    102102;------------------------------------------------------------ 
    103103   ancienx = !x 
  • trunk/SRC/ToBeReviewed/PLOTS/DIVERS/determineminmax.pro

    r163 r226  
    77; Determine the min and the max of a mask array 
    88; 
    9 ; @categories  
     9; @categories 
    1010; Plotting 
    1111; 
     
    1414; 
    1515; @param MASK {in}{required} 
    16 ; The mask array  
     16; The mask array 
    1717; 
    1818; @keyword MININ {type=scalar} 
     
    2222; If it is not defined, it takes the value of VRAIMAX 
    2323; 
    24 ; @keyword ZEROMIDDLE  
     24; @keyword ZEROMIDDLE 
    2525; Force the middle of the colorbar to be equal 
    2626; to 0 (force max=max(abs([min,max])) and min=-max) 
    27 ;  
     27; 
    2828; @keyword _EXTRA 
    2929; used to pass your keywords 
     
    3131; @keyword USETRI 
    3232; To force using triangulation. 
    33 ;  
     33; 
    3434; @param VRAIMIN {out} 
    3535; The min of the array 
     
    6464;----------------------------------------------------------------------------- 
    6565;----------------------------------------------------------------------------- 
    66 ; Type o fthe vertical grid: 
     66; Type of the vertical grid: 
    6767  if vargrid EQ 'W' then nz = nzw ELSE nz = nzt 
    6868; liste des points mer 
    6969  if (size(mask))[0] EQ 3 then mer = mask[*, *, 0] $ 
    7070  ELSE mer = mask 
    71 ; If key_irregular eq 1, we mask also points which are not in the geographic  
     71; If key_irregular eq 1, we mask also points which are not in the geographic 
    7272; domain defined by lon1,lon2,lat1,lat2 
    7373  if keyword_set(key_irregular) AND n_elements(glam) NE 0 AND n_elements(gphi) NE 0 then begin 
     
    8989; ma and mi : max and min on ocean points 
    9090  vraimax = max(tab[mer], min = vraimin, _extra = ex) 
    91   sameminmax = testvar(var = minin) EQ testvar(var = maxin)  
     91  sameminmax = testvar(var = minin) EQ testvar(var = maxin) 
    9292  if n_elements(maxin) EQ 0 OR sameminmax then maxin = vraimax 
    93   if n_elements(minin) EQ 0 OR sameminmax then BEGIN  
     93  if n_elements(minin) EQ 0 OR sameminmax then BEGIN 
    9494    if keyword_set(intervalle) then minin = floor(vraimin/intervalle)*intervalle $ 
    9595    ELSE minin = vraimin 
  • trunk/SRC/ToBeReviewed/PLOTS/DIVERS/placedessin.pro

    r163 r226  
    44;+ 
    55; 
    6 ; @file_comments  
     6; @file_comments 
    77; Putting into place of the drawing/ opening of the window or of the PS 
    88; 
    9 ; @categories  
     9; @categories 
    1010; Utilities 
    1111; 
     
    1313; It specify what procedure is called by PLACEDESSIN: 'plt', 'pltz' or 'pltt' 
    1414; 
    15 ; @keyword LANDSCAPE  
     15; @keyword LANDSCAPE 
    1616; Force the page or the window on the screen to be in lengthened position. 
    1717; 
    1818; @keyword LCT {type=integer} 
    19 ; It designate the number of the palette of color we want to use for the plot.  
     19; It designate the number of the palette of color we want to use for the plot. 
    2020;        
    21 ; @keyword MAP  
     21; @keyword MAP 
    2222; We use it when we want to do a projection. 
    2323; This keyword can be of two types: 
    2424;     MAP=[P0lat,P0lon,Rot]. For the description of these 3 values (see the online help of MAP_SET). 
    25 ;     /MAP: In this case, map is automatically calculated have the value:  
     25;     /MAP: In this case, map is automatically calculated have the value: 
    2626;          map = [0, (lon1+lon2)/2., 0] 
    2727; Comment: A good way to choose the type of the projection we want to do is to have a look at IDL demo: 
    2828; IDL> demo 
    2929; Then choose earth sciences and  mapping. 
    30 ; Comment2: By default it is a cylindrical projection which is effectuated (with or without the keyword map).  
     30; Comment2: By default it is a cylindrical projection which is effectuated (with or without the keyword map). 
    3131; If we want an other projection, MAP must be activated and we have to add the keyword: /nom_projection. 
    3232; For example, for a polar projection centered on the south pole: 
     
    3434; IDL> plt, tab, /stereo,map=[-90,0,0] 
    3535;        
    36 ; @keyword NOCOLORBAR  
     36; @keyword NOCOLORBAR 
    3737; We active it if we do not want the colorbar. 
    3838 
    39 ;; @keyword NOFILL  
     39;; @keyword NOFILL 
    4040; We active it if we only want contours in black and white with a white background. 
    4141; 
    42 ; @keyword NOERASE  
     42; @keyword NOERASE 
    4343; We active it to make a drawing without creating a new frame. 
    4444; 
    45 ; @keyword SMALL  
    46 ; Vector composed of 3 or 4 elements, applied to make a drawing on a  
     45; @keyword SMALL 
     46; Vector composed of 3 or 4 elements, applied to make a drawing on a 
    4747; small portion of a page or screen. It delimit the zone where the drawing will be done. 
    4848;     If there is 4 elements: 
    49 ; then is constituted of coordinates (expressed in cm located from the up and  
    50 ; left corner of the page or the window (in portrait like in landscape)) of the bottom  
     49; then is constituted of coordinates (expressed in cm located from the up and 
     50; left corner of the page or the window (in portrait like in landscape)) of the bottom 
    5151; and left corner and of the up and right corner of the drawing zone. 
    5252;     If there is 3 elements: 
    53 ; in this case, we divide the page or the screen in small[0] columns and in small[1] lines  
    54 ; the drawing made in the box numbered small[2]. The numerotation starting up and left by  
     53; in this case, we divide the page or the screen in small[0] columns and in small[1] lines 
     54; the drawing made in the box numbered small[2]. The numerotation starting up and left by 
    5555; the number 1 and then, following the writing direction. 
    56 ; By default, we make the largest drawing we can do, conserving the aspect rapport  
     56; By default, we make the largest drawing we can do, conserving the aspect rapport 
    5757; (except when REMPLI is activated). 
    58 ;  
    59 ; @keyword PORTRAIT  
     58; 
     59; @keyword PORTRAIT 
    6060; Force the page or the window to be in standing position. 
    6161; 
    62 ; @keyword POST  
     62; @keyword POST 
    6363; Make a postscript. Only works if we made one drawing on the page. 
    6464; If we make several drawing, use \@ps. 
    6565; 
    66 ; @keyword REMPLI  
     66; @keyword REMPLI 
    6767; Force the drawing to occupy the whole space defined by small. 
    6868; 
    69 ; @keyword WINDOW  
    70 ; Number of the window on which we want to do the graph (Allow to open several windows).  
     69; @keyword WINDOW 
     70; Number of the window on which we want to do the graph (Allow to open several windows). 
    7171; By default, we open 'IDL0' 
    7272; 
    73 ; @keyword CB_TITLE  
     73; @keyword CB_TITLE 
    7474; The colorbar's title 
    7575; 
    76 ; @keyword CONTOUR  
    77 ; If we want to trace contours of a different field than the one  
    78 ; whose we have the colored drawing (by example E-P in color and QSR in contours).  
     76; @keyword CONTOUR 
     77; If we want to trace contours of a different field than the one 
     78; whose we have the colored drawing (by example E-P in color and QSR in contours). 
    7979; It must be a field respecting same characteristics than the argument number one of plt. 
    8080; 
    81 ; @keyword ENDPOINTS  
    82 ; keyword specifying that we want to make a vertical cut in diagonal. Then coordinated of extremities  
    83 ; of these one are defined by the 4 elements of the vector ENDPOINTS: [x1,y1,x2,y2] which are  
    84 ; coordinates.  
     81; @keyword ENDPOINTS 
     82; keyword specifying that we want to make a vertical cut in diagonal. Then coordinated of extremities 
     83; of these one are defined by the 4 elements of the vector ENDPOINTS: [x1,y1,x2,y2] which are 
     84; coordinates. 
    8585; 
    8686; @keyword VECTEUR {type=vector} 
     
    9494; @keyword DIREC 
    9595; 't' 'x' 'y' 'z' 'xys' 'xz' 'yz' 'xyz' 'xt' 'yt' 'zt' 'xyt' 
    96 ;       'xzt' 'yzt' 'xyzt' Direction on which do averages  
     96;       'xzt' 'yzt' 'xyzt' Direction on which do averages 
    9797; 
    9898; @keyword _EXTRA 
    9999; Used to pass your keywords. 
    100100; 
    101 ; @keyword COLOR_C  
     101; @keyword COLOR_C 
    102102; To draw the contour in color instead of in black 
    103 ; with filling in color  
     103; with filling in color 
    104104; 
    105105; @param POSFENETRE {out}{type=vector} 
    106 ; It is a vector composed by 4 elements containing the position of the frame  
    107 ; containing captions and the graph in normalized coordinates.  
    108 ; Comment: To position the drawing; we have to do !p.position=posfenetre  
     106; It is a vector composed by 4 elements containing the position of the frame 
     107; containing captions and the graph in normalized coordinates. 
     108; Comment: To position the drawing; we have to do !p.position=posfenetre 
    109109; after the call of the caliber 
    110110; 
    111111; @param POSBAR {out}{type=vector} 
    112 ; Like POSFENETRE but for the color bar.  
     112; Like POSFENETRE but for the color bar. 
    113113; Same comment to position the color bar, !p.position=posbar 
    114114; 
     
    148148; 1) Determination of the size of margins (unity=number of lines or columns) 
    149149; to the left, to the right, up and down. 
    150 ; BEWARE in margebar, the last element is the right up corner  
     150; BEWARE in margebar, the last element is the right up corner 
    151151; instead of the up margin 
    152152;------------------------------------------------------------- 
     
    157157    margebar = 1.*[marge[0]+1, marge[1]+1,  marge[2]-8,  marge[2]-6] 
    158158    if keyword_set(barmarges) then margebar = margebar+barmarges 
    159   ENDIF ELSE BEGIN  
    160     nocolorbar = keyword_set(nocolorbar) + keyword_set(nofill) + keyword_set(color_c)   
     159  ENDIF ELSE BEGIN 
     160    nocolorbar = keyword_set(nocolorbar) + keyword_set(nofill) + keyword_set(color_c) 
    161161    case typedessin of 
    162162      'plt':marge = 1.*[6, 2, 4, 3] 
     
    186186; Portrait or landscape 
    187187;-------------------------------------------------------------- 
    188   IF NOT keyword_set(noerase) THEN BEGIN  
     188  IF NOT keyword_set(noerase) THEN BEGIN 
    189189    CASE 1 OF 
    190190      n_elements(portrait) NE 0:key_portrait = portrait 
     
    192192      ELSE: 
    193193    ENDCASE 
    194   ENDIF  
     194  ENDIF 
    195195;-------------------------------------------------------------- 
    196196; What type of aspect rapport (it will be crushed if YXASPECT exist) 
     
    218218;------------------------------------------------------------ 
    219219  case 1 of 
    220 ; case of the first drawing on a postcript 
     220; case of the first drawing on a postscript 
    221221    keyword_set(post) AND !d.name ne 'PS':openps, _extra = ex 
    222222; case of the first drawing on a screen 
     
    236236      windsize = givewindowsize() 
    237237      window, window, xsize = windsize[0], ysize = windsize[1],  retain = 2, _extra = ex 
    238 ; When we used colors which are coded on 24bit, we can not stipulate the background color  
     238; When we used colors which are coded on 24bit, we can not stipulate the background color 
    239239; of a window thanks to !p.background, so we have to to this: 
    240240;          if !d.n_colors gt 256 then begin 
  • trunk/SRC/ToBeReviewed/PLOTS/DIVERS/restoreatt.pro

    r163 r226  
    55; 
    66; @file_comments 
    7 ; Allows to reattribuate global variables associated with a field  
     7; Allows to reattribute global variables associated with a field 
    88; when we give a structure created by saveatt.pro by example. 
    99; 
    10 ; @categories  
     10; @categories 
    1111; Utilities 
    1212; 
    1313; @param STRUCT {in}{required} 
    14 ; a structure like the one who read litchamp.  
     14; a structure like the one who read litchamp. 
    1515;        See IDL> xhelp,'litchamp' 
    1616; 
     
    1919; 
    2020; @restrictions 
    21 ; Change the value if global variables attribute of a field: vargrid,  
     21; Change the value if global variables attribute of a field: vargrid, 
    2222; varname, varunit, vardate, varexp , valmask and time. 
    2323; 
     
    4747         'e':varexp = struct.(i) 
    4848         'm':valmask = struct.(i) 
    49          'd':BEGIN  
    50             if size(struct.(i),/type) EQ 7 THEN BEGIN  
     49         'd':BEGIN 
     50            if size(struct.(i),/type) EQ 7 THEN BEGIN 
    5151               vardate = struct.(i) 
    5252            ENDIF ELSE BEGIN 
     
    5555            ENDELSE 
    5656         end 
    57          ELSE:BEGIN  
     57         ELSE:BEGIN 
    5858            ras = report('Le nom '+nomelements[i]+' ne correspont a aucun element reconnu de la structure. !C cf. IDL> xhelp, ''litchamp''') 
    5959         end 
Note: See TracChangeset for help on using the changeset viewer.