Ignore:
Timestamp:
08/29/06 14:59:46 (18 years ago)
Author:
navarro
Message:

header improvements : type of parameters and keywords, default values, spell checking + idldoc assistant (IDL online_help)

File:
1 edited

Legend:

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

    r157 r163  
    1010; Utilities 
    1111; 
    12 ; @param TYPEDESSIN 
    13 ; It is a chain or characteres specifying what procedure is called by PLACEDESSIN: 'plt', 'pltz' or 'pltt' 
     12; @param TYPEDESSIN {type=string} 
     13; It specify what procedure is called by PLACEDESSIN: 'plt', 'pltz' or 'pltt' 
    1414; 
    1515; @keyword LANDSCAPE  
    16 ; Force the page or the window on the screen to be in lenthened position. 
    17 ; 
    18 ; @keyword LCT  
    19 ; Is an integer designating the number of the palette of color we want to use for the plot.  
     16; Force the page or the window on the screen to be in lengthened position. 
     17; 
     18; @keyword LCT {type=integer} 
     19; It designate the number of the palette of color we want to use for the plot.  
    2020;        
    2121; @keyword MAP  
    2222; We use it when we want to do a projection. 
    2323; This keyword can be of two types: 
    24 ;     MAP=[P0lat,P0lon,Rot]. For the descrption of these 3 values (see the online help of MAP_SET). 
    25 ;     /MAP: In this case, map is automatically caculated have the value:  
     24;     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:  
    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 cindrical 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: 
     
    4444; 
    4545; @keyword SMALL  
    46 ; Vector composed of 3 or 4 elements, applyed to make a drawing on a  
     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 constituated of coordinates (expressed in cm located from the up and  
    50 ; left corner of the page or the window (in portrait like in lanscape)) 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: 
     
    5555; the number 1 and then, following the writing direction. 
    5656; By default, we make the largest drawing we can do, conserving the aspect rapport  
    57 ; (exept when REMPLI is activated). 
     57; (except when REMPLI is activated). 
    5858;  
    5959; @keyword PORTRAIT  
     
    6767; Force the drawing to occupy the whole space defined by small. 
    6868; 
    69 ; @keyword WINDOW 
     69; @keyword WINDOW  
    7070; Number of the window on which we want to do the graph (Allow to open several windows).  
    7171; By default, we open 'IDL0' 
     
    7676; @keyword CONTOUR  
    7777; If we want to trace contours of a different field than the one  
    78 ; whose we have the colored drawing (by examlpe E-P in color and QSR in contours).  
    79 ; It must be a field respecting same caracteristics than the argument number one of plt. 
     78; whose we have the colored drawing (by example E-P in color and QSR in contours).  
     79; It must be a field respecting same characteristics than the argument number one of plt. 
    8080; 
    8181; @keyword ENDPOINTS  
    82 ; keyword specifing that we want to make a vertical cut in diagonal. Then coorinated of extremities  
    83 ; of these one are difined by the 4 elements of the vector ENDPOINTS: [x1,y1,x2,y2] which are  
     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  
    8484; coordinates.  
    8585; 
    86 ; @keyword VECTEUR 
     86; @keyword VECTEUR {type=vector} 
    8787; It is a structure composed by 2 elements containing the 2 fields U 
    8888; and V of values of the zonal and meridian component of the vector of the fields 
    8989; to draw. These fields can be an array or a structure. 
    9090;       For example: vecteur={matriceu:lec('unsurface'),matricev:lec('vnsurface')} 
    91 ;       Comment: name of elements of vectors are inconsenquential. 
     91;       Comment: name of elements of vectors are inconsequential. 
    9292;       vecteur={u:lec('unsurface'),v:lec('vnsurface')} is also appropriated. 
    9393; 
     
    103103; with filling in color  
    104104; 
    105 ; @param POSFENETRE {out} 
     105; @param POSFENETRE {out}{type=vector} 
    106106; It is a vector composed by 4 elements containing the position of the frame  
    107 ; containing captions and the graph in normalized coorinates.  
     107; containing captions and the graph in normalized coordinates.  
    108108; Comment: To position the drawing; we have to do !p.position=posfenetre  
    109109; after the call of the caliber 
    110110; 
    111 ; @param POSBAR {out} 
     111; @param POSBAR {out}{type=vector} 
    112112; Like POSFENETRE but for the color bar.  
    113113; Same comment to position the color bar, !p.position=posbar 
Note: See TracChangeset for help on using the changeset viewer.