Changeset 163 for trunk/SRC/ToBeReviewed/PLOTS/DIVERS
- Timestamp:
- 08/29/06 14:59:46 (18 years ago)
- Location:
- trunk/SRC/ToBeReviewed/PLOTS/DIVERS
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ToBeReviewed/PLOTS/DIVERS/addaxe.pro
r157 r163 12 12 ; 13 13 ; @param ENDPOINTS {in}{required} 14 ; Coord onneesof extremities of the section14 ; Coordinate of extremities of the section 15 15 ; 16 ; @param TYPE {in}{required} 16 ; @param TYPE {in}{required}{type=string} 17 17 ; A string of two characters specifying the type of plot we do 18 18 ; 19 ; @param POSFENETRE {in}{required} 19 ; @param POSFENETRE {in}{required}{type=vector} 20 20 ; The vector !p.position corresponding to the frame position of 21 21 ; the drawing part of the plot. -
trunk/SRC/ToBeReviewed/PLOTS/DIVERS/autoscale.pro
r157 r163 17 17 ; A reel number specifying below what value we want to trace a contour 18 18 ; 19 ; @param CI. {out} 19 ; @param CI. {out}{type=real} 20 20 ; It is a reel number giving the contour interval. Use it in CONTOUR with the keyword LEVEL. 21 21 ; -
trunk/SRC/ToBeReviewed/PLOTS/DIVERS/axis4pltz.pro
r157 r163 29 29 ; latitude when we make a drawing f(y) 30 30 ; 31 ; @keyword ZRATIO 31 ; @keyword ZRATIO {default=2./3} 32 32 ; When the drawing has a zoomed part, it is the size rapport between the zoomed part, 33 ; hz (zoom height), and the whole drawing, ht (total height). By default =2./333 ; hz (zoom height), and the whole drawing, ht (total height). 34 34 ; 35 35 ; @keyword _EXTRA -
trunk/SRC/ToBeReviewed/PLOTS/DIVERS/barrecouleur.pro
r157 r163 9 9 ; @categories 10 10 ; Utilities 11 ; 12 ; @param COLNUMB 13 ; 14 ; 15 ; @param CLBINF 16 ; 17 ; 18 ; @param CLBSUP 19 ; 20 ; 21 ; @param CLBDIV 22 ; 23 ; 24 ; @keyword NOCOLORBAR 25 ; 26 ; 27 ; @keyword CB_TITLE 28 ; 29 ; 30 ; @keyword NOFILL 31 ; 32 ; 33 ; @keyword COLOR_c 34 ; 35 ; 36 ; @keyword MIN 37 ; Scalar used to specify the min value to be drawn. 38 ; 39 ; @keyword MAX 40 ; Scalar used to specify the max value to be drawn. 41 ; 42 ; @keyword DIVISIONS 43 ; 44 ; 45 ; @keyword CB_SUBTITLE 46 ; 47 ; 48 ; @keyword POST 49 ; 50 ; 51 ; @keyword _EXTRA 52 ; Used to pass your keywords 11 53 ; 12 54 ; @restrictions pass all argument we want thanks to _extra -
trunk/SRC/ToBeReviewed/PLOTS/DIVERS/checkfield.pro
r157 r163 6 6 ; 7 7 ; 8 ; @param TYPE {in}{required} 8 ; @param TYPE {in}{required}{type=string} 9 9 ; A string of two characters specifying the type of plot we do 10 10 ; 11 ; @param N1 {in}{required} 11 ; @param N1 {in}{required}{type=integer} 12 12 ; Number of elements in the first dimension 13 13 ; 14 ; @param N2 {in}{required} 14 ; @param N2 {in}{required}{type=integer} 15 15 ; Number of elements in the second dimension 16 16 ; 17 ; @param NAME {in} {optional}18 ; It is a string givingthe name of the file to be opened. If NAME17 ; @param NAME {in}{optional}{type=string} 18 ; It gives the name of the file to be opened. If NAME 19 19 ; does not contain the separating character of directories ('/' under 20 20 ; unix for example), the file will be looked for in the current directory. … … 51 51 ; 52 52 ; 53 ; @param TYPE {in}{required} 53 ; @param TYPE {in}{required}{type=string} 54 54 ; A string of two characters specifying the type of plot we do 55 55 ; … … 101 101 ; 102 102 ; 103 ; @param TYPE {in}{required} 103 ; @param TYPE {in}{required}{type=string} 104 104 ; A string of two characters specifying the type of plot we do 105 105 ; … … 157 157 ; Graphics 158 158 ; 159 ; @param FIELD {in}{required} 160 ; A field respectinglitchamp.pro's criterions. See IDL>xhelp,'litchamp'159 ; @param FIELD {in}{required}{type=field} 160 ; It respect litchamp.pro's criterions. See IDL>xhelp,'litchamp' 161 161 ; 162 162 ; @param PROCEDURE {in}{required} … … 169 169 ; 170 170 ; 171 ; @keyword BOXZOOM 171 ; @keyword BOXZOOM {type=vector} 172 172 ; Vector indicating the geographic zone on which we want to cut the map. 173 173 ; If BOXZOOM has : … … 181 181 ; 182 182 ; @keyword WDEPTH 183 ; to specify that the field is at W depth inst ad of T183 ; to specify that the field is at W depth instead of T 184 184 ; depth (automatically activated if vargrid eq 'W') 185 185 ; 186 ; @keyword VECTEUR 186 ; @keyword VECTEUR{type=vetcor} 187 187 ; It is a structure composed by 2 elements containing the 2 fields U 188 188 ; and V of values of the zonal and meridian component of the vector of the fields 189 189 ; to draw. These fields can be an array or a structure. 190 190 ; For example: vecteur={matriceu:lec('unsurface'),matricev:lec('vnsurface')} 191 ; Comment: name of elements of vectors are inconse nquential.191 ; Comment: name of elements of vectors are inconsequential. 192 192 ; vecteur={u:lec('unsurface'),v:lec('vnsurface')} is also appropriated. 193 193 ; -
trunk/SRC/ToBeReviewed/PLOTS/DIVERS/checktypeminmax.pro
r157 r163 1 ;------------------------------------------------------------2 ;------------------------------------------------------------3 ;------------------------------------------------------------4 1 ;+ 5 ; NAME:2 ; @file_comments 6 3 ; 7 ; PURPOSE:8 4 ; 9 ; CATEGORY:5 ; @categories 10 6 ; 11 ; CALLING SEQUENCE:12 ;13 ; INPUTS:14 7 ; 15 ; KEYWORD PARAMETERS:8 ; @param PROCEDURE 16 9 ; 17 ; OUTPUTS:18 10 ; 19 ; COMMON BLOCKS:common.pro11 ; @keyword TYPE 20 12 ; 21 ; SIDE EFFECTS:22 13 ; 23 ; RESTRICTIONS:14 ; @keyword MIN 24 15 ; 25 ; EXAMPLE:26 16 ; 27 ; MODIFICATION HISTORY:Sebastien Masson (smasson\@lodyc.jussieu.fr) 17 ; @keyword MAX 18 ; 19 ; 20 ; @keyword XY 21 ; 22 ; 23 ; @keyword XZ 24 ; 25 ; 26 ; @keyword YZ 27 ; 28 ; 29 ; @keyword XT 30 ; 31 ; 32 ; @keyword YT 33 ; 34 ; 35 ; @keyword ZT 36 ; 37 ; 38 ; @keyword TT 39 ; 40 ; 41 ; @keyword XX 42 ; 43 ; 44 ; @keyword YY 45 ; 46 ; 47 ; @keyword ZZ 48 ; 49 ; 50 ; @keyword XINDEX 51 ; 52 ; 53 ; @keyword YINDEX 54 ; 55 ; 56 ; @keyword ENDPOINTS 57 ; 58 ; 59 ; @keyword _EXTRA 60 ; Used to pass your keywords 61 ; 62 ; @returns 63 ; 64 ; 65 ; @uses 66 ; common.pro 67 ; 68 ; @restrictions 69 ; 70 ; 71 ; @examples 72 ; 73 ; 74 ; @history 75 ; Sebastien Masson (smasson\@lodyc.jussieu.fr) 76 ; 77 ; @version 78 ; $Id$ 28 79 ; 29 80 ; @todo seb 30 81 ;- 31 ;------------------------------------------------------------ 32 ;------------------------------------------------------------ 33 ;------------------------------------------------------------ 82 ; 83 ; 34 84 PRO checktypeminmax, procedure, TYPE = type, MIN = min, MAX = max, XY = xy $ 35 85 , XZ = xz, YZ = yz, XT = XT, YT = YT, ZT = zt $ … … 37 87 , XINDEX = xindex, YINDEX = yindex $ 38 88 , ENDPOINTS = endpoints, _extra = ex 39 ;40 ;41 89 compile_opt idl2, strictarrsubs 42 90 ; -
trunk/SRC/ToBeReviewed/PLOTS/DIVERS/determineminmax.pro
r157 r163 16 16 ; The mask array 17 17 ; 18 ; @keyword MININ 19 ; I t is a scalar which, if it is not defined, takethe value of VRAIMIN18 ; @keyword MININ {type=scalar} 19 ; If it is not defined, it takes the value of VRAIMIN 20 20 ; 21 ; @keyword MAXIN 22 ; I t is a scalar which, if it is not defined, takethe value of VRAIMAX21 ; @keyword MAXIN {type=scalar} 22 ; If it is not defined, it takes the value of VRAIMAX 23 23 ; 24 24 ; @keyword ZEROMIDDLE -
trunk/SRC/ToBeReviewed/PLOTS/DIVERS/givewindowsize.pro
r142 r163 1 1 ;+ 2 ; @file_comments 3 ; 4 ; 5 ; @categories 6 ; 7 ; 8 ; @returns 9 ; 10 ; 11 ; @uses 12 ; 13 ; 14 ; @restrictions 15 ; 16 ; 17 ; @examples 18 ; 19 ; 20 ; @history 21 ; 22 ; 23 ; @version 24 ; $Id$ 2 25 ; 3 26 ; @todo seb 4 ;5 27 ;- 6 ;7 28 FUNCTION givewindowsize 8 ; 29 9 30 ;------------------------------------------------------------ 10 31 ; include commons -
trunk/SRC/ToBeReviewed/PLOTS/DIVERS/meridienparallele.pro
r157 r163 10 10 ; Graphics 11 11 ; 12 ; @param COUPE The type of drawing we treat 12 ; @param COUPE 13 ; The type of drawing we treat 13 14 ; 14 15 ; @uses -
trunk/SRC/ToBeReviewed/PLOTS/DIVERS/placecolor.pro
r157 r163 6 6 ; @file_comments 7 7 ; allows to trace the independently from a graph 8 ; By default, trace a color bar of the same type t ahn the one present in plt8 ; By default, trace a color bar of the same type than the one present in plt 9 9 ; and pltz. If max, min and divisions are not stipulated, then max=sup,min=inf 10 10 ; and divisions=div. … … 14 14 ; 15 15 ; @param POS 16 ; Vect eur composed by 4 elements giving coordinates of the left bottom16 ; Vector composed by 4 elements giving coordinates of the left bottom 17 17 ; corner and of the right up one -in cm- in which we want to do the color bar 18 18 ; … … 24 24 ; 25 25 ; @restrictions 26 ; Only usable for P OSTCRIPTs effectuated with plein2dessin26 ; Only usable for Postscripts effectuated with plein2dessin 27 27 ; 28 28 ; @history -
trunk/SRC/ToBeReviewed/PLOTS/DIVERS/placedessin.pro
r157 r163 10 10 ; Utilities 11 11 ; 12 ; @param TYPEDESSIN 13 ; It is a chain or characteres specifyingwhat 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' 14 14 ; 15 15 ; @keyword LANDSCAPE 16 ; Force the page or the window on the screen to be in len thened position.17 ; 18 ; @keyword LCT 19 ; I s an integer designatingthe 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. 20 20 ; 21 21 ; @keyword MAP 22 22 ; We use it when we want to do a projection. 23 23 ; This keyword can be of two types: 24 ; MAP=[P0lat,P0lon,Rot]. For the descr ption of these 3 values (see the online help of MAP_SET).25 ; /MAP: In this case, map is automatically ca culated 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: 26 26 ; map = [0, (lon1+lon2)/2., 0] 27 27 ; Comment: A good way to choose the type of the projection we want to do is to have a look at IDL demo: 28 28 ; IDL> demo 29 29 ; 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). 31 31 ; If we want an other projection, MAP must be activated and we have to add the keyword: /nom_projection. 32 32 ; For example, for a polar projection centered on the south pole: … … 44 44 ; 45 45 ; @keyword SMALL 46 ; Vector composed of 3 or 4 elements, appl yed to make a drawing on a46 ; Vector composed of 3 or 4 elements, applied to make a drawing on a 47 47 ; small portion of a page or screen. It delimit the zone where the drawing will be done. 48 48 ; If there is 4 elements: 49 ; then is constitu ated of coordinates (expressed in cm located from the up and50 ; left corner of the page or the window (in portrait like in lan scape)) of the bottom49 ; 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 51 51 ; and left corner and of the up and right corner of the drawing zone. 52 52 ; If there is 3 elements: … … 55 55 ; the number 1 and then, following the writing direction. 56 56 ; By default, we make the largest drawing we can do, conserving the aspect rapport 57 ; (ex ept when REMPLI is activated).57 ; (except when REMPLI is activated). 58 58 ; 59 59 ; @keyword PORTRAIT … … 67 67 ; Force the drawing to occupy the whole space defined by small. 68 68 ; 69 ; @keyword WINDOW 69 ; @keyword WINDOW 70 70 ; Number of the window on which we want to do the graph (Allow to open several windows). 71 71 ; By default, we open 'IDL0' … … 76 76 ; @keyword CONTOUR 77 77 ; If we want to trace contours of a different field than the one 78 ; whose we have the colored drawing (by exam lpe E-P in color and QSR in contours).79 ; It must be a field respecting same c aracteristics 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. 80 80 ; 81 81 ; @keyword ENDPOINTS 82 ; keyword specif ing that we want to make a vertical cut in diagonal. Then coorinated of extremities83 ; of these one are d ifined by the 4 elements of the vector ENDPOINTS: [x1,y1,x2,y2] which are82 ; 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 84 ; coordinates. 85 85 ; 86 ; @keyword VECTEUR 86 ; @keyword VECTEUR {type=vector} 87 87 ; It is a structure composed by 2 elements containing the 2 fields U 88 88 ; and V of values of the zonal and meridian component of the vector of the fields 89 89 ; to draw. These fields can be an array or a structure. 90 90 ; For example: vecteur={matriceu:lec('unsurface'),matricev:lec('vnsurface')} 91 ; Comment: name of elements of vectors are inconse nquential.91 ; Comment: name of elements of vectors are inconsequential. 92 92 ; vecteur={u:lec('unsurface'),v:lec('vnsurface')} is also appropriated. 93 93 ; … … 103 103 ; with filling in color 104 104 ; 105 ; @param POSFENETRE {out} 105 ; @param POSFENETRE {out}{type=vector} 106 106 ; It is a vector composed by 4 elements containing the position of the frame 107 ; containing captions and the graph in normalized coor inates.107 ; containing captions and the graph in normalized coordinates. 108 108 ; Comment: To position the drawing; we have to do !p.position=posfenetre 109 109 ; after the call of the caliber 110 110 ; 111 ; @param POSBAR {out} 111 ; @param POSBAR {out}{type=vector} 112 112 ; Like POSFENETRE but for the color bar. 113 113 ; Same comment to position the color bar, !p.position=posbar -
trunk/SRC/ToBeReviewed/PLOTS/DIVERS/projsegment.pro
r157 r163 11 11 ; Calculation 12 12 ; 13 ; @param VECTEUR 13 ; @param VECTEUR {type=vector} 14 14 ; A vector whose the first element must be the smallest one and the last must be the biggest one. 15 15 ; … … 23 23 ; 24 24 ; @returns 25 ; A vector whose new bou daries are specified by BORNES.25 ; A vector whose new boundaries are specified by BORNES. 26 26 ; 27 27 ; @examples -
trunk/SRC/ToBeReviewed/PLOTS/DIVERS/restoreatt.pro
r157 r163 6 6 ; @file_comments 7 7 ; Allows to reattribuate global variables associated with a field 8 ; when we give a st ucture created by saveatt.pro by example.8 ; when we give a structure created by saveatt.pro by example. 9 9 ; 10 10 ; @categories -
trunk/SRC/ToBeReviewed/PLOTS/DIVERS/rotation.pro
r142 r163 5 5 ; 6 6 ; @param X {in}{required} 7 ; orig nal data point pairs7 ; original data point pairs 8 8 ; 9 9 ; @param Y {in}{required} 10 ; orig nal data point pairs10 ; original data point pairs 11 11 ; 12 12 ; @param DEG {in}{required} … … 27 27 ;- 28 28 29 PRO ROTATION,X,Y,DEG,NX,NY29 PRO rotation,X,Y,DEG,NX,NY 30 30 ; 31 31 compile_opt idl2, strictarrsubs -
trunk/SRC/ToBeReviewed/PLOTS/DIVERS/terminedessin.pro
r157 r163 14 14 ; If we make several drawing, use \@ps. 15 15 ; 16 ; @keyword SMALL 17 ; Vector composed of 3 or 4 elements, appl yed to make a drawing on a16 ; @keyword SMALL {type=vector} 17 ; Vector composed of 3 or 4 elements, applied to make a drawing on a 18 18 ; small portion of a page or screen. It delimit the zone where the drawing will be done. 19 19 ; If there is 4 elements: 20 ; then is constitu ated of coordinates (expressed in cm located from the up and21 ; left corner of the page or the window (in portrait like in lan scape)) of the bottom20 ; then is constituted of coordinates (expressed in cm located from the up and 21 ; left corner of the page or the window (in portrait like in landscape)) of the bottom 22 22 ; and left corner and of the up and right corner of the drawing zone. 23 23 ; If there is 3 elements: … … 26 26 ; the number 1 and then, following the writing direction. 27 27 ; By default, we make the largest drawing we can do, conserving the aspect rapport 28 ; (ex ept when REMPLI is activated).28 ; (except when REMPLI is activated). 29 29 ; 30 30 ; @keyword _EXTRA
Note: See TracChangeset
for help on using the changeset viewer.