Changeset 367
- Timestamp:
- 08/06/08 11:05:24 (16 years ago)
- Location:
- trunk/SRC/ToBeReviewed
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ToBeReviewed/CALCULS/depth2floatlevel.pro
r327 r367 2 2 ; 3 3 ; @file_comments 4 ; Rather comparable to depth2level but here, the calculated level is in float. 4 ; Rather comparable to <pro>depth2level</pro> but here, the calculated level 5 ; is in float. 5 6 ; For example, the level 5.4 correspond to a depth equal 6 7 ; to gdep[5]+.4*(gdep[6]-gdep[5]) -
trunk/SRC/ToBeReviewed/CALCULS/grossemoyenne.pro
r327 r367 52 52 ; @keyword TEMPORALFIRST 53 53 ; to force to perform first temporal 54 ; mean even if nanis activated (see SPATIALFIRST explanations...)54 ; mean even if NAN is activated (see SPATIALFIRST explanations...) 55 55 ; 56 56 ; @keyword WDEPTH -
trunk/SRC/ToBeReviewed/CALCULS/level2depth.pro
r327 r367 2 2 ; 3 3 ; @file_comments 4 ; Allows to pass from a 2d level array to a 2d depth array corresponding to these levels 4 ; Allows to pass from a 2d level array to a 2d depth array corresponding to 5 ; these levels 5 6 ; 6 7 ; @categories … … 8 9 ; 9 10 ; @param TAB {in}{required}{type=2d array} 10 ; 2d level array of sill levels (or a structure respecting <pro>litchamp</pro> criterions) 11 ; 2d level array of sill levels (or a structure respecting <pro>litchamp</pro> 12 ; criterions) 11 13 ; 12 14 ; @keyword NOMASK … … 35 37 @common 36 38 ;------------------------------------------------------------ 37 ; Reading of the input field 39 ; Reading of the input field and recovery of the used subdomain's size 38 40 ;------------------------------------------------------------ 39 41 niveaux = litchamp(tab) 40 42 grille,mask, -1, -1,gdep,nx,ny,nz,firstx,firsty,firstz,lastx,lasty,lastz 41 43 ;--------------------------------------------------------------- 42 ; verification of the coherence between array's size and the domain defined by domdef 44 ; verification of the coherence between array's size and the domain defined 45 ; by domdef 43 46 ;--------------------------------------------------------------- 44 47 taille = size(niveaux) -
trunk/SRC/ToBeReviewed/CALCULS/level2index.pro
r325 r367 5 5 ; has been extract from a level specified by the 2d level array (typically, 6 6 ; we want to obtain the salinity along an isopycn we have repered by its level). 7 ; level2index is a function wh ogive, in function of level, a 2d indexes array7 ; level2index is a function which give, in function of level, a 2d indexes array 8 8 ; which will allow to extract the 2d array from the 3d array... 9 9 ; -
trunk/SRC/ToBeReviewed/CALCULS/level2mask.pro
r325 r367 41 41 grille,maskterre, -1, -1, -1,nx,ny,nz,firstx,firsty,firstz,lastx,lasty,lastz 42 42 ;--------------------------------------------------------------- 43 ; verification of the coherence between the array's size and the defined by domdef domain 43 ; verification of the coherence between the array's size and the defined by 44 ; domdef domain 44 45 ;--------------------------------------------------------------- 45 46 IF ny EQ 1 THEN niveaux = reform(niveaux, nx, ny, /over) -
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/plt.pro
r328 r367 97 97 ; corresponding to cases n. cf <pro>label</pro> 98 98 ; Comment: When CONTOUR is activated, it only specify the label's type for colored isolines. 99 ; For these one traced by a trait, use CONTLABEL.99 ; For these ones traced by a trait, use CONTLABEL. 100 100 ; 101 101 ; @keyword MAP {default=Cylindrical projection} 102 102 ; We use it when we want to do a projection. 103 103 ; This keyword can be of two types: 104 ; MAP=[P0lat,P0lon,Rot]. For the description of these 3 values (see the online help of <proidl> MAP_SET</proidl>).104 ; MAP=[P0lat,P0lon,Rot]. For the description of these 3 values (see the online help of <proidl>map_set</proidl>). 105 105 ; /MAP: In this case, map is automatically calculated have the value: 106 106 ; map = [0, (lon1+lon2)/2., 0] 107 107 ; Comment: A good way to choose the type of the projection we want to do is to have a look at IDL demo: 108 108 ; IDL> demo 109 ; Then choose " earth sciences and mappinA"g109 ; Then choose "Mapping" and "Global Mapping Demo" 110 110 ; Comment2: By default it is a cylindrical projection which is done (with or without the keyword map). 111 111 ; If we want an other projection, MAP must be activated and we have to add the keyword: /nom_projection. … … 115 115 ; 116 116 ; @keyword LABMAP {default=labmap=1} 117 ; Corresponds to LABEL keyword of <proidl> MAP_SET</proidl>.117 ; Corresponds to LABEL keyword of <proidl>map_set</proidl>. 118 118 ; 119 119 ; @keyword MAXIN -
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/plt1d.pro
r327 r367 49 49 ; @keyword ENDPOINTS 50 50 ; keyword specifying that we want to make a vertical cut in diagonal. 51 ; Then coordinated of extremities of these one are defined by the 4 elements51 ; Then coordinated of extremities of these ones are defined by the 4 elements 52 52 ; of the vector ENDPOINTS: [x1,y1,x2,y2] which are coordinates. 53 53 ; -
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/pltt.pro
r328 r367 88 88 ; @keyword ENDPOINTS 89 89 ; keyword specifying that we want to make a vertical cut in diagonal. Then coordinated of extremities 90 ; of these one are defined by the 4 elements of the vector ENDPOINTS: [x1,y1,x2,y2] which are90 ; of these ones are defined by the 4 elements of the vector ENDPOINTS: [x1,y1,x2,y2] which are 91 91 ; coordinates. 92 92 ; … … 112 112 ; corresponding to cases n. cf <pro>label</pro> 113 113 ; Comment: When CONTOUR is activated, it only specify the label's type for colored isolines. 114 ; For these one traced by a trait, use CONTLABEL.114 ; For these ones traced by a trait, use CONTLABEL. 115 115 ; 116 116 ; @keyword COL1d -
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/pltz.pro
r360 r367 71 71 ; @keyword ENDPOINTS 72 72 ; keyword specifying that we want to make a vertical cut in diagonal. Then coordinated of extremities 73 ; of these one are defined by the 4 elements of the vector ENDPOINTS: [x1,y1,x2,y2] which are73 ; of these ones are defined by the 4 elements of the vector ENDPOINTS: [x1,y1,x2,y2] which are 74 74 ; coordinates. 75 75 ; … … 86 86 ; 87 87 ; @keyword ZRATIO {default=2./3} 88 ; When the drawing has a zoomed part, it is the size ra pport between the zoomed part,89 ; hz (zoom height), and the whole drawing, ht (total height).88 ; When the drawing has a zoomed part, it is the size ratio between the zoomed 89 ; part, hz (zoom height), and the whole drawing, ht (total height). 90 90 ; 91 91 ; @keyword LABEL {default=0}{type=integer} 92 92 ; It choose the label's type corresponding to cases in <pro>label</pro> 93 93 ; Comment: When CONTOUR is activated, it only specify the label's type for colored isolines. 94 ; For these one traced by a trait, use CONTLABEL.94 ; For these ones traced by a trait, use CONTLABEL. 95 95 ; 96 96 ; @keyword MAXIN -
trunk/SRC/ToBeReviewed/PLOTS/DIVERS/axis4pltz.pro
r327 r367 27 27 ; 28 28 ; @keyword ZRATIO {default=2./3} 29 ; When the drawing has a zoomed part, it is the size ra pport between the zoomed part,30 ; hz (zoom height), and the whole drawing, ht (total height).29 ; When the drawing has a zoomed part, it is the size ratio between the zoomed 30 ; part, hz (zoom height), and the whole drawing, ht (total height). 31 31 ; 32 32 ; @keyword _EXTRA -
trunk/SRC/ToBeReviewed/PLOTS/DIVERS/placedessin.pro
r327 r367 12 12 ; 13 13 ; @param POSFENETRE {out}{type=vector} 14 ; It is a vector composed by 4 elements containing the position of the frame15 14 ; containing captions and the graph in normalized coordinates. 16 ; Comment: To position the drawing ;we have to do !p.position=posfenetre15 ; Comment: To position the drawing, we have to do !p.position=posfenetre 17 16 ; after the call of the caliber 18 17 ; … … 34 33 ; We use it when we want to do a projection. 35 34 ; This keyword can be of two types: 36 ; MAP=[P0lat,P0lon,Rot]. For the description of these 3 values (see the online help of MAP_SET).35 ; MAP=[P0lat,P0lon,Rot]. For the description of these 3 values (see the online help of <proidl>map_set</proidl>). 37 36 ; /MAP: In this case, map is automatically calculated have the value: 38 37 ; map = [0, (lon1+lon2)/2., 0] 39 38 ; Comment 1: A good way to choose the type of the projection we want to do is to have a look at IDL demo: 40 39 ; IDL> demo 41 ; Then choose earth sciences and mapping.40 ; Then choose "Mapping" and "Global Mapping Demo" 42 41 ; Comment 2: By default it is a cylindrical projection which is effectuated (with or without the keyword map). 43 42 ; If we want an other projection, MAP must be activated and we have to add the keyword: /nom_projection. … … 66 65 ; the drawing made in the box numbered small[2]. The numerotation starting up and left by 67 66 ; the number 1 and then, following the writing direction. 68 ; By default, we make the largest drawing we can do, conserving the aspect ra pport67 ; By default, we make the largest drawing we can do, conserving the aspect ratio 69 68 ; (except when REMPLI is activated). 70 69 ; … … 77 76 ; 78 77 ; @keyword REMPLI 79 ; Force the drawing to occupythe whole space defined by small.78 ; Force the drawing to fill the whole space defined by small. 80 79 ; 81 80 ; @keyword WINDOW … … 94 93 ; @keyword ENDPOINTS 95 94 ; keyword specifying that we want to make a vertical cut in diagonal. Then coordinated of extremities 96 ; of these one are defined by the 4 elements of the vector ENDPOINTS: [x1,y1,x2,y2] which are95 ; of these ones are defined by the 4 elements of the vector ENDPOINTS: [x1,y1,x2,y2] which are 97 96 ; coordinates. 98 97 ; … … 194 193 ENDIF 195 194 ;-------------------------------------------------------------- 196 ; What type of aspect ra pport(it will be crushed if YXASPECT exist)195 ; What type of aspect ratio(it will be crushed if YXASPECT exist) 197 196 ;-------------------------------------------------------------- 198 197 case typedessin of -
trunk/SRC/ToBeReviewed/PLOTS/DIVERS/terminedessin.pro
r327 r367 22 22 ; the drawing made in the box numbered small[2]. The numerotation starting up and left by 23 23 ; the number 1 and then, following the writing direction. 24 ; By default, we make the largest drawing we can do, conserving the aspect ra pport24 ; By default, we make the largest drawing we can do, conserving the aspect ration 25 25 ; (except when REMPLI is activated). 26 26 ; -
trunk/SRC/ToBeReviewed/PLOTS/VECTEUR/vecteur.pro
r327 r367 37 37 cm_en_normal = 1./sizexfeuille 38 38 ; 39 ; If the aspect ra pportof the window is not equal to 1, the length in39 ; If the aspect ratio of the window is not equal to 1, the length in 40 40 ; normalized coordinates of a trait of 1 cm vary following the polar 41 41 ; angle of this trait. -
trunk/SRC/ToBeReviewed/POSTSCRIPT/calibre.pro
r327 r367 2 2 ; 3 3 ; @file_comments 4 ; From a ra pport ofaspect and values (in line of character) of different margins,4 ; From a ration aspect and values (in line of character) of different margins, 5 5 ; it calculate POSFENETRE and POSBAR which serve to place the drawing and the color 6 6 ; bar thanks to !p.position on a leaf or a screen output whose the window has the same … … 32 32 ; left bottom corner. 33 33 ; It is a vector made of 3 elements giving the number of column to be done in the 34 ; drawing, the number of line and the number of the case the number have to occupy35 ; (see matlab). For example, to do 6 drawing in 3 columns and 2 lines and occupy36 ; the 4th case, small=[2,3,4]34 ; drawing, the number of line and the number of the case the number have to fill 35 ; (see matlab). For example, to do 6 drawings in 3 columns and 2 lines and 36 ; fill the 4th case, small=[2,3,4] 37 37 ; 38 38 ; @param posfenetre {type=vector} … … 46 46 ; 47 47 ; @keyword REMPLI 48 ; Force the drawing to occupythe biggest possible place defined by49 ; SMALLDRAW without respect the rapport y on x.48 ; Force the drawing to fill the biggest possible place defined by 49 ; SMALLDRAW without respect the y/x ratio. 50 50 ; 51 51 ; @keyword YXASPECT 52 ; Force the rapport y on xto take the value RAPPORTYX*YXASPECT.52 ; Force the y/x ratio to take the value RAPPORTYX*YXASPECT. 53 53 ; This keyword can be used in 2 cases: 54 ; 1) YXASPECT=1 : force RAPPORTYX to be respected otherwise, Calibre take the55 ; initiative to change it a little in the case of the aspect ra pportof SMALL54 ; 1) YXASPECT=1 : force RAPPORTYX to be respected otherwise, calibre take the 55 ; initiative to change it a little in the case of the aspect ratio of SMALL 56 56 ; is too different of the one of SMALLDRAW. 57 ; 2) YXASPECT=n : multiply by n the aspect rapport given by default. 58 ; For example in plt, RAPPORTYX is calculated to the reference be orthonormal, 57 ; 2) YXASPECT=n : multiply by n the aspect ratio given by default. 58 ; For example in <proidl>plt</proidl>, RAPPORTYX is calculated to the 59 ; reference be orthonormal, 59 60 ; to have a reference where the y axis is 2 time bigger than the x one, YXASPECT=2. 60 61 ; -
trunk/SRC/ToBeReviewed/WIDGET/AUTOUR_de_XXX/createhistory.pro
r325 r367 18 18 ; numbered small[2]. The numerotation starting up and left by the number 1 and then, 19 19 ; following the writing direction. By default, we make the largest drawing we can do, 20 ; conserving the aspect ra pport(except when REMPLI is activated).20 ; conserving the aspect ratio (except when REMPLI is activated). 21 21 ; 22 22 ; @returns
Note: See TracChangeset
for help on using the changeset viewer.