Changeset 163 for trunk/SRC/ToBeReviewed/PLOTS/DESSINE
- Timestamp:
- 08/29/06 14:59:46 (18 years ago)
- Location:
- trunk/SRC/ToBeReviewed/PLOTS/DESSINE
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/bar_plot.pro
r142 r163 7 7 ; Graphics 8 8 ; 9 ; @param Values {in}{required} 9 ; @param Values {in}{required} {type=vector} 10 10 ; A vector containing the values to be represented by the bars. 11 11 ; Each element in VALUES corresponds to a single bar in the 12 12 ; output. 13 13 ; 14 ; @keyword BASELINES 14 ; @keyword BASELINES {type=vector} 15 15 ; A vector, the same size as VALUES, that contains the 16 16 ; base value associated with each bar. If not specified, 17 17 ; a base value of zero is used for all bars. 18 18 ; 19 ; @keyword COLORS 19 ; @keyword COLORS {type=vector} 20 20 ; A vector, the same size as VALUES, containing the color index 21 21 ; to be used for each bar. If not specified, the colors are 22 ; selected based on spacing the color ind ices as widely as22 ; selected based on spacing the color indexes as widely as 23 23 ; possible within the available colors (specified by D.N_COLORS). 24 24 ; 25 ; @keyword BARNAMES 25 ; @keyword BARNAMES {type=string} 26 26 ; A string array, containing one string label per bar. 27 27 ; If the bars are vertical, the labels are placed beneath … … 29 29 ; are placed to the left of the bars. 30 30 ; 31 ; @keyword TITLE 31 ; @keyword TITLE {type=string} 32 32 ; A string containing the main title to for the bar plot. 33 33 ; 34 ; @keyword XTITLE 34 ; @keyword XTITLE {type=string} 35 35 ; A string containing the title for the X axis. 36 36 ; 37 ; @keyword YTITLE 37 ; @keyword YTITLE {type=string} 38 38 ; A string containing the title for the Y axis. 39 39 ; 40 ; @keyword BASERANGE 40 ; @keyword BASERANGE {type=float} 41 41 ; A floating-point scalar in the range 0.0 to 1.0, that 42 42 ; determines the fraction of the total available plotting area … … 44 44 ; If not specified, the full available area is used. 45 45 ; 46 ; @keyword BARWIDTH 46 ; @keyword BARWIDTH {type=float} 47 47 ; A floating-point value that specifies the width of the bars 48 48 ; in units of "nominal bar width". The nominal bar width is … … 52 52 ; keyword). 53 53 ; 54 ; @keyword BARSPACE 54 ; @keyword BARSPACE {type=scalar} 55 55 ; A scalar that specifies, in units of "nominal bar width", 56 56 ; the spacing between bars. For example, if BARSPACE is 1.0, … … 59 59 ; width. 60 60 ; 61 ; @keyword BAROFFSET 61 ; @keyword BAROFFSET {default=BARSPACE}{type=scalar} 62 62 ; A scalar that specifies the offset to be applied to the 63 63 ; first bar, in units of "nominal bar width". This keyword 64 64 ; allows, for example, different groups of bars to be overplotted 65 ; on the same graph. If not specified, the default offset is 66 ; equal to BARSPACE. 65 ; on the same graph. 67 66 ; 68 67 ; @keyword OUTLINE … … 74 73 ; overplotted on an existing graph. 75 74 ; 76 ; @keyword BACKGROUND 75 ; @keyword BACKGROUND {default=The normal IDL background color is used}{type=scalar} 77 76 ; A scalar that specifies the color index to be used for 78 ; the background color. By default, the normal IDL background 79 ; color is used. 77 ; the background color. 80 78 ; 81 79 ; @keyword ROTATE -
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/plt.pro
r157 r163 29 29 ; Note: if param2 is defined as 'xy' then param4 is used to define the max (see param3) 30 30 ; 31 ; @keyword BOXZOOM 31 ; @keyword BOXZOOM {type=vector} 32 32 ; Vector indicating the geographic zone on which we want to cut the map. 33 33 ; If BOXZOOM has : … … 42 42 ; @keyword REALCONT 43 43 ; Allow to draw continents defined in IDL. REALCONT can have 2 form: 44 ; /REALCONT: we draw wcontinents in place of the mask45 ; REALCONT=2 we draw c notinents's contour over the mask (this allows44 ; /REALCONT: we draw continents in place of the mask 45 ; REALCONT=2 we draw continent's contour over the mask (this allows 46 46 ; to see if the mask correspond at real continents). 47 47 ; … … 53 53 ; If this keyword is not specified, we trace 20 isolines from the min to the max. 54 54 ; 55 ; @keyword CONTLABEL 56 ; It is an integer n. When CONTOUR is act vated, if n55 ; @keyword CONTLABEL {type=integer} 56 ; It is an integer n. When CONTOUR is activated, if n 57 57 ; is different of 0, choose the label type corresponding to n cases for 58 58 ; the traced by a traitisolines. To specify the type of label of the 59 59 ; colored contour, use LABEL 60 60 ; 61 ; @keyword CONTMAX 61 ; @keyword CONTMAX {default=The max of the array passed in the keyword CONTOUR (on ocean points)} 62 62 ; When CONTOUR is activated, max value we want to consider in the isoline 63 ; traced by a trait's line. By default, we take the max (on ocean points) of the array 64 ; passed in the keyword CONTOUR. 65 ; 66 ; @keyword CONTMIN 63 ; traced by a trait's line 64 ; 65 ; @keyword CONTMIN {default=The min of the array passed in the keyword CONTOUR (on ocean points)} 67 66 ; When CONTOUR is activated, min value we want to consider in the isoline 68 ; traced by a trait's line. By default, we take the min (on ocean points) of the array 69 ; passed in the keyword CONTOUR. 70 ; 71 ; @keyword CONTNLEVEL 72 ; When CONTOUR is activated, it is the numbre of contours 67 ; traced by a trait's line. 68 ; 69 ; @keyword CONTNLEVEL {default=20} 70 ; When CONTOUR is activated, it is the number of contours 73 71 ; traced by a trait for drawing (active if 74 ; CONTLABEL=0) by default=20.72 ; CONTLABEL=0) 75 73 ; 76 74 ; @keyword CONTOUR 77 75 ; 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.80 ; 81 ; @keyword GRIDTYPE 'U','T','V','W' or 'F' to specify possibly the grid on w ichethe field is joined.76 ; whose we have the colored drawing (by example E-P in color and QSR in contours). 77 ; It must be a field respecting same characteristics than the argument number one of plt. 78 ; 79 ; @keyword GRIDTYPE 'U','T','V','W' or 'F' to specify possibly the grid on which the field is joined. 82 80 ; Comment: In this case, we should use a structure like field. 83 81 ; … … 93 91 ; (without use the black, the white and the used palette) 94 92 ; 95 ; @keyword LABEL 93 ; @keyword LABEL {type=integer} 96 94 ; It is an integer n. If n different of 0, it choose the label's type 97 95 ; corresponding to cases n. cf label.pro 98 96 ; Comment: When CONTOUR is activated, it only specify the label's type for colored isolines. 99 ; For t ese one traced by a trait, use CONTLABEL.97 ; For these one traced by a trait, use CONTLABEL. 100 98 ; 101 ; @keyword MAP 99 ; @keyword MAP {default=Cylindrical projection} 102 100 ; We use it when we want to do a projection. 103 101 ; This keyword can be of two types: 104 ; MAP=[P0lat,P0lon,Rot]. For the descr ption of these 3 values (see the online help of MAP_SET).105 ; /MAP: In this case, map is automatically ca culated have the value:102 ; MAP=[P0lat,P0lon,Rot]. For the description of these 3 values (see the online help of MAP_SET). 103 ; /MAP: In this case, map is automatically calculated have the value: 106 104 ; map = [0, (lon1+lon2)/2., 0] 107 105 ; Comment: A good way to choose the type of the projection we want to do is to have a look at IDL demo: 108 106 ; IDL> demo 109 107 ; Then choose earth sciences and mapping. 110 ; Comment2: By default it is a cindrical projection which is effectuated (with or without the keyword map).108 ; Comment2: By default it is a cylindrical projection which is effectuated (with or without the keyword map). 111 109 ; If we want an other projection, MAP must be activated and we have to add the keyword: /nom_projection. 112 110 ; For example, for a polar projection centered on the south pole: … … 114 112 ; IDL> plt, tab, /stereo,map=[-90,0,0] 115 113 ; 116 ; @keyword LABMAP 117 ; Corresponds to label keywords of map_set. Defaut 118 ; definition is labmap=1 119 ; 114 ; @keyword LABMAP {default=labmap=1} 115 ; Corresponds to label keywords of map_set. 120 116 ; 121 117 ; @keyword MAXIN … … 129 125 ; keyword is retained. 130 126 ; 131 ; @keyword NLEVEL 127 ; @keyword NLEVEL {default=20} 132 128 ; Number of contour to draw by default =20. active if 133 129 ; LABEL=0 or is not specified. … … 136 132 ; To force not to use the triangulation. Beware, in this case, the 137 133 ; drawing only works if the grid is undeformed (It means that each point of a longitude 138 ; give one latitude and each point of a latitude give one longitude) ex ept if we use134 ; give one latitude and each point of a latitude give one longitude) except if we use 139 135 ; the keyword CELL_FILL=2. 140 136 ; Comment: if the field contain points !values.f_nan, then we even do a triangulation. … … 150 146 ; specified min and values superior at the specified max in white. 151 147 ; 152 ; @keyword STYLE 153 ; Contour's style to adopt to draw isolines (by default, style=0. see style.pro)154 ; 155 ; @keyword VECTEUR 148 ; @keyword STYLE {default=style=0} 149 ; Contour's style to adopt to draw isolines. 150 ; 151 ; @keyword VECTEUR {type=struct} 156 152 ; It is a structure composed by 2 elements containing the 2 fields U 157 153 ; and V of values of the zonal and meridian component of the vector of the fields 158 154 ; to draw. These fields can be an array or a structure. 159 155 ; For example: vecteur={matriceu:lec('unsurface'),matricev:lec('vnsurface')} 160 ; Comment: name of elements of vectors are inconse nquential.156 ; Comment: name of elements of vectors are inconsequential. 161 157 ; vecteur={u:lec('unsurface'),v:lec('vnsurface')} is also appropriated. 162 158 ; -
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/plt1d.pro
r157 r163 3 3 ; 4 4 ; @file_comments 5 ; Trace 1d graph es: x,y,z (or t but in this case, we recall directly pltt)5 ; Trace 1d graphs: x,y,z (or t but in this case, we recall directly pltt) 6 6 ; 7 7 ; @categories … … 12 12 ; 1) An array which can be: 13 13 ; * 2d, 3d or 4d: array xy, xyz. xyt or xyzt. In this case, the array will pass 14 ; in moyenne or grossemoyenne to be averaged and becom me an array 1d.14 ; in moyenne or grossemoyenne to be averaged and become an array 1d. 15 15 ; * 1d:Nevertheless, the type must be specified in order to we know which trace 16 ; it is about. To have a correct caption, respecify the xctraction zone via BOXZOOM.16 ; it is about. To have a correct caption, respecify the extraction zone via BOXZOOM. 17 17 ; 2) a structure respecting all criterions specified by litchamp.pro. 18 18 ; See IDL> xhelp,'litchamp'. The array contained in the structure … … 32 32 ; 33 33 ; @keyword BOXZOOM 34 ; Vector indicating the geographi quezone (3d) on which the extraction of the field must34 ; Vector indicating the geographic zone (3d) on which the extraction of the field must 35 35 ; be done to do the hovmoeller. 36 36 ; If BOXZOOM has : … … 48 48 ; 49 49 ; @keyword ENDPOINTS 50 ; keyword specif ing that we want to make a vertical cut in diagonal. Then coorinated of extremities51 ; of these one are d ifined by the 4 elements of the vector ENDPOINTS: [x1,y1,x2,y2] which are50 ; keyword specifying that we want to make a vertical cut in diagonal. Then coordinated of extremities 51 ; of these one are defined by the 4 elements of the vector ENDPOINTS: [x1,y1,x2,y2] which are 52 52 ; coordinates. 53 53 ; … … 84 84 ; allows to specify the type of hovmoller we want to do 85 85 ; 'xt','yt','zt','t' 86 ; with help of a keyword rather than the argument type. If the argument and the86 ; with help of a keyword rather than the argument type. If the argument and the 87 87 ; keyword are specified in the same time, it is the value specified by the 88 88 ; keyword which is retained. -
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/pltbase.pro
r157 r163 20 20 ; Axis. Vector or array of the same size that z2d. This is the coordinate of z2d on y. 21 21 ; 22 ; @param MASK {in}{required} 22 ; @param MASK {in}{required}{type=array} 23 23 ; It is the array who mask z2d (with 0s on points we want to mask and 1s on others). 24 24 ; If z2d is not masked, put this argument equal to 1. … … 32 32 ; This is the coordinate of mask on y. 33 33 ; 34 ; @param LEVELS {in}{optional} 34 ; @param LEVELS {in}{optional}{type=vector} 35 35 ; Vectors which contain levels needed at the contour. 36 36 ; If it is not given, we take 20 levels between the min and the max. 37 37 ; 38 ; @param COLORS {in}{optional} 38 ; @param COLORS {in}{optional}{type=vector} 39 39 ; Vectors which contain colors needed at the contour. 40 40 ; If it is not given, we take 20 levels between the min and the max. … … 50 50 ; with filling in color 51 51 ; 52 ; @keyword /CONT_NOFILL52 ; @keyword CONT_NOFILL 53 53 ; Activate it not to fill the point mask to let them transparent! 54 54 ; Comment: Nevertheless, we trace mask's contour. 55 55 ; 56 ; @keyword CONT_COLOR 57 ; The color of the continent. defaut value is 58 ; (!d.n_colors - 1) < 255 => white 59 ; 60 ; @keyword /DESSTRICHAMP 56 ; @keyword CONT_COLOR {default= (!d.n_colors - 1) < 255 =>white} 57 ; The color of the continent. 58 ; 59 ; @keyword DESSTRICHAMP 61 60 ; To draw the triangulation which is used to make field's contours. 62 61 ; 63 ; @keyword /DESSTRIMASK62 ; @keyword DESSTRIMASK 64 63 ; To draw the triangulation which is used to make mask's contours. 65 64 ; 66 ; @keyword /FORPLT65 ; @keyword FORPLT 67 66 ; To activate if we want that the drawing of coast be realized by tracecote rather than tracemask. 68 67 ; 69 ; @keyword I_COLORS 70 ; It is a vector specif ing the colors to use to trace contours.68 ; @keyword I_COLORS {type=vector} 69 ; It is a vector specifying the colors to use to trace contours. 71 70 ; It is the same thing that c_colors which act on contours. 72 71 ; 73 ; @keyword MORE 72 ; @keyword MORE {default=10} 74 73 ; Number to give to avoid style's bugs: 75 74 ; % Out of range subscript encountered: <LONG Array[38911]>. 76 75 ; % Execution halted at: PLTBASE 151 77 ; By default more=10If the bug still exist, increase the value of more!76 ; If the bug still exist, increase the value of more! 78 77 ; (The explanation and the justification of this method do not have scientific bases yet...). 79 78 ; 80 ; @keyword /NOFILL79 ; @keyword NOFILL 81 80 ; To make just isolines. 82 81 ; 83 ; @keyword /NOCONTOUR82 ; @keyword NOCONTOUR 84 83 ; To make just colors. 85 84 ; 86 ; @keyword /UNSUR2 To trace one isoline on two. 87 ; 88 ; @keyword UNLABSUR 89 ; Is an integer n. specifying we only label one contour on two 85 ; @keyword UNSUR2 86 ; To trace one isoline on two. 87 ; 88 ; @keyword UNLABSUR {type=integer} 89 ; I specify we only label one contour on two. 90 90 ; 91 91 ; @keyword CONTOUR -
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/pltsc.pro
r142 r163 1 1 ;+ 2 ; @file_comments 3 ; 4 ; 5 ; @categories 6 ; 7 ; 8 ; @param TAB1 9 ; 10 ; 11 ; @param TAB2 12 ; 13 ; 14 ; @param MIN1 15 ; 16 ; 17 ; @param MAX1 18 ; 19 ; 20 ; @param MIN2 21 ; 22 ; 23 ; @param MAX2 24 ; 25 ; 26 ; @param VARNAME2 27 ; 28 ; 29 ; @keyword BOXZOOM 30 ; Vector indicating the geographic zone on which we want to cut the map. 31 ; If BOXZOOM has : 32 ; 1 element : The extraction is made on [lon1, lon2, lat1, lat2, 0.,boxzoom[0]] 33 ; 2 elements: The extraction is made on [lon1, lon2, lat1, lat2, boxzoom[0],boxzoom[1]] 34 ; 4 elements: The extraction is made on [Boxzoom, 0, max([gdept, gdepw])] 35 ; 5 elements: The extraction is made on [Boxzoom[0:3], 0, Boxzoom[4]] 36 ; 6 elements: The extraction is made on Boxzoom 37 ; 38 ; @keyword COL1D 39 ; 40 ; 41 ; @keyword STY1D 42 ; 43 ; 44 ; @keyword OV1D 45 ; 46 ; 47 ; @keyword _EXTRA 48 ; Used to pass your keywords 49 ; 50 ; @returns 51 ; 52 ; 53 ; @uses 54 ; 55 ; 56 ; @restrictions 57 ; 58 ; 59 ; @examples 60 ; 61 ; 62 ; @history 63 ; 64 ; 65 ; @version 66 ; $Id$ 2 67 ; 3 68 ; @todo seb 4 69 ; 5 70 ;- 71 ; 6 72 PRO pltsc,tab1,tab2, min1, max1, min2, max2, varname2, BOXZOOM = boxzoom, $ 7 73 COL1D=col1d,STY1D=sty1d,OV1D=ov1d, _extra = ex 8 ;9 74 ; scatter plot (inspired from plt1d) 10 75 ; -
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/pltt.pro
r157 r163 15 15 ; be masked at the value valmask) and nevertheless,type must be specified 16 16 ; to we know of which trace it is about. 17 ; To have a correct caption, respecify the xctraction zone via BOXZOOM.17 ; To have a correct caption, respecify the extraction zone via BOXZOOM. 18 18 ; * 1d: only for traces of the 't' type. Nevertheless, type must be specified 19 19 ; to we know of which trace it is about. 20 ; To have a correct caption, respecify the xctraction zone via BOXZOOM.20 ; To have a correct caption, respecify the extraction zone via BOXZOOM. 21 21 ; 2) a structure respecting all criterions specified by litchamp.pro. 22 22 ; See IDL> xhelp,'litchamp'. The array contained in the structure … … 38 38 ; 39 39 ; @keyword BOXZOOM 40 ; Vector indicating the geographi quezone (3d) on which the extraction of the field must40 ; Vector indicating the geographic zone (3d) on which the extraction of the field must 41 41 ; be done to do the hovmoeller. 42 42 ; If BOXZOOM has : … … 56 56 ; If this keyword is not specified, we trace 20 isolines from the min to the max. 57 57 ; 58 ; @keyword CONTLABEL 59 ; It is an integer n. When CONTOUR is actvated, if n58 ; @keyword CONTLABEL {type=integer} 59 ; When CONTOUR is activated, if n 60 60 ; is different of 0, choose the label type corresponding to n cases for 61 61 ; the traced by a traitisolines. To specify the type of label of the 62 62 ; colored contour, use LABEL 63 63 ; 64 ; @keyword CONTMAX 64 ; @keyword CONTMAX {default=we take the max of the array passed in the keyword CONTOUR (on ocean points)} 65 65 ; When CONTOUR is activated, max value we want to consider in the isoline 66 ; traced by a trait's line. By default, we take the max (on ocean points) of the array 67 ; passed in the keyword CONTOUR. 68 ; 69 ; @keyword CONTMIN 66 ; traced by a trait's line. 67 ; 68 ; @keyword CONTMIN {default=we take the min of the array passed in the keyword CONTOUR (on ocean points)} 70 69 ; When CONTOUR is activated, min value we want to consider in the isoline 71 ; traced by a trait's line. By default, we take the min (on ocean points) of the array 72 ; passed in the keyword CONTOUR. 73 ; 74 ; @keyword CONTNLEVEL 75 ; When CONTOUR is activated, it is the numbre of contours 70 ; traced by a trait's line. 71 ; 72 ; @keyword CONTNLEVEL {default=20} 73 ; When CONTOUR is activated, it is the number of contours 76 74 ; traced by a trait for drawing (active if 77 ; CONTLABEL=0) by default=20.75 ; CONTLABEL=0). 78 76 ; 79 77 ; @keyword CONTOUR 80 78 ; If we want to trace contours of a different field than the one 81 ; whose we have the colored drawing (by exam lpe E-P in color and QSR in contours).82 ; It must be a field respecting same c aracteristics than the argument number one of pltt.79 ; whose we have the colored drawing (by example E-P in color and QSR in contours). 80 ; It must be a field respecting same characteristics than the argument number one of pltt. 83 81 ; 84 82 ; @keyword ENDPOINTS 85 ; keyword specif ing that we want to make a vertical cut in diagonal. Then coorinated of extremities86 ; of these one are d ifined by the 4 elements of the vector ENDPOINTS: [x1,y1,x2,y2] which are83 ; keyword specifying that we want to make a vertical cut in diagonal. Then coordinated of extremities 84 ; of these one are defined by the 4 elements of the vector ENDPOINTS: [x1,y1,x2,y2] which are 87 85 ; coordinates. 88 86 ; … … 104 102 ; (without use the black, the white and the used palette) 105 103 ; 106 ; @keyword LABEL 107 ; I t is an integer n. If n different of 0, it choose the label's type104 ; @keyword LABEL {type=integer} 105 ; If n different of 0, it choose the label's type 108 106 ; corresponding to cases n. cf label.pro 109 107 ; Comment: When CONTOUR is activated, it only specify the label's type for colored isolines. 110 ; For t ese one traced by a trait, use CONTLABEL.108 ; For these one traced by a trait, use CONTLABEL. 111 109 ; 112 110 ; @keyword COL1d … … 124 122 ; keyword is retained. 125 123 ; 126 ; @keyword NLEVEL 124 ; @keyword NLEVEL {default=20} 127 125 ; Number of contour to draw by default =20. active if 128 126 ; LABEL=0 or is not specified. 129 127 ; 130 ; @keyword CONTNLEVEL 131 ; When CONTOUR is activated, it is the numb reof contours128 ; @keyword CONTNLEVEL {default=20} 129 ; When CONTOUR is activated, it is the number of contours 132 130 ; traced by a trait for drawing (active if 133 ; CONTLABEL=0) by default=20.131 ; CONTLABEL=0). 134 132 ; 135 133 ; @keyword OV1D … … 146 144 ; specified min and values superior at the specified max in white. 147 145 ; 148 ; @keyword STYLE 149 ; Contour's style to adopt to draw isolines (by default, style=0. see style.pro)146 ; @keyword STYLE {default=style=0} 147 ; Contour's style to adopt to draw isolines 150 148 ; 151 149 ; @keyword STY1D … … 161 159 ; allows to specify the type of hovmoller we want to do 162 160 ; 'xt','yt','zt','t' 163 ; with help of a keyword rather than the argument type. If the argument and the161 ; with help of a keyword rather than the argument type. If the argument and the 164 162 ; keyword are specified in the same time, it is the value specified by the 165 163 ; keyword which is retained. 164 ; 165 ; @keyword _EXTRA 166 ; Used to pass your keywords 166 167 ; 167 168 ; @uses -
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/pltv.pro
r159 r163 49 49 ; 50 50 ; @keyword NOINTERP 51 ; Used this keyword if you don't w hant that the values51 ; Used this keyword if you don't want that the values 52 52 ; are interpolated from BOTTOM using NCOLORS colors. 53 ; This can be for example useful lwhen working on byte type arrays.53 ; This can be for example useful when working on byte type arrays. 54 54 ; 55 55 ; @keyword _EXTRA -
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/pltz.pro
r157 r163 16 16 ; If the field is 3d, we extract the section on we average possibly before to do the plot. 17 17 ; 2) a structure respecting all criterions specified by litchamp.pro. 18 ; See IDL> xhelp,'litchamp'. The array cont inin the structure must be 2 or 3d (See case 1)18 ; See IDL> xhelp,'litchamp'. The array contained in the structure must be 2 or 3d (See case 1) 19 19 ; 20 20 ; ces arguments ne sont pas obligatoires: … … 44 44 ; If this keyword is not specified, we trace 20 isolines from the min to the max. 45 45 ; 46 ; @keyword CONTLABEL 47 ; It is an integer n. When CONTOUR is actvated, if n46 ; @keyword CONTLABEL {type=integer} 47 ; When CONTOUR is activated, if n 48 48 ; is different of 0, choose the label type corresponding to n cases for 49 49 ; the traced by a traitisolines. To specify the type of label of the 50 50 ; colored contour, use LABEL 51 51 ; 52 ; @keyword CONTMAX 52 ; @keyword CONTMAX {default=max of the keyword CONTOUR (on ocean points)} 53 53 ; When CONTOUR is activated, max value we want to consider in the isoline 54 ; traced by a trait's line. By default, we take the max (on ocean points) of the array 55 ; passed in the keyword CONTOUR. 56 ; 57 ; @keyword CONTMIN 54 ; traced by a trait's line. 55 ; 56 ; @keyword CONTMIN {default=min of the keyword CONTOUR (on ocean points)} 58 57 ; When CONTOUR is activated, min value we want to consider in the isoline 59 ; traced by a trait's line. By default, we take the min (on ocean points) of the array 60 ; passed in the keyword CONTOUR. 61 ; 62 ; @keyword CONTNLEVEL 63 ; When CONTOUR is activated, it is the numbre of contours 58 ; traced by a trait's line. 59 ; 60 ; @keyword CONTNLEVEL {default=20} 61 ; When CONTOUR is activated, it is the number of contours 64 62 ; traced by a trait for drawing (active if 65 ; CONTLABEL=0) by default=20.63 ; CONTLABEL=0). 66 64 ; 67 65 ; @keyword CONTOUR 68 66 ; If we want to trace contours of a different field than the one 69 ; whose we have the colored drawing (by exam lpe E-P in color and QSR in contours).70 ; It must be a field respecting same c aracteristics than the argument number one of plt.67 ; whose we have the colored drawing (by example E-P in color and QSR in contours). 68 ; It must be a field respecting same characteristics than the argument number one of plt. 71 69 ; 72 70 ; @keyword ENDPOINTS 73 ; keyword specif ing that we want to make a vertical cut in diagonal. Then coorinated of extremities74 ; of these one are d ifined by the 4 elements of the vector ENDPOINTS: [x1,y1,x2,y2] which are71 ; keyword specifying that we want to make a vertical cut in diagonal. Then coordinated of extremities 72 ; of these one are defined by the 4 elements of the vector ENDPOINTS: [x1,y1,x2,y2] which are 75 73 ; coordinates. 76 74 ; … … 86 84 ; (without use the black, the white and the used palette) 87 85 ; 88 ; @keyword ZRATIO 86 ; @keyword ZRATIO {default=2./3} 89 87 ; When the drawing has a zoomed part, it is the size rapport between the zoomed part, 90 ; hz (zoom height), and the whole drawing, ht (total height). By default =2./3 91 ; 92 ; @keyword LABEL 93 ; It is an integer n. If n different of 0, it choose the label's type 94 ; corresponding to cases n. cf label.pro 88 ; hz (zoom height), and the whole drawing, ht (total height). 89 ; 90 ; @keyword LABEL {default=0}{type=integer} 91 ; It choose the label's type corresponding to cases in label.pro. 95 92 ; Comment: When CONTOUR is activated, it only specify the label's type for colored isolines. 96 ; For t ese one traced by a trait, use CONTLABEL.93 ; For these one traced by a trait, use CONTLABEL. 97 94 ; 98 95 ; @keyword MAXIN … … 106 103 ; keyword is retained. 107 104 ; 108 ; @keyword NLEVEL 105 ; @keyword NLEVEL {default=20} 109 106 ; Number of contour to draw by default =20. active if 110 107 ; LABEL=0 or is not specified. … … 113 110 ; To force not to use the triangulation. Beware, in this case, the 114 111 ; drawing only works if the grid is undeformed (It means that each point of a longitude 115 ; give one latitude and each point of a latitude give one longitude) ex ept if we use112 ; give one latitude and each point of a latitude give one longitude) except if we use 116 113 ; the keyword CELL_FILL=2. 117 114 ; Comment: if the field contain points !values.f_nan, then we even do a triangulation. … … 131 128 ; specified min and values superior at the specified max in white. 132 129 ; 133 ; @keyword STYLE 134 ; Contour's style to adopt to draw isolines (by default, style=0. see style.pro)130 ; @keyword STYLE {default=style=0} 131 ; Contour's style to adopt to draw isolines 135 132 ; 136 133 ; @keyword WDEPTH … … 144 141 ; Force to make a cut following yz 145 142 ; 146 ; @keyword ZOOM 147 ; Depth where i can make our maximum zoom. By default 200m or max depth if it is inferior at 200m143 ; @keyword ZOOM {default=200m or max depth if it is inferior at 200m} 144 ; Depth where i can make our maximum zoom. 148 145 ; 149 146 ; @uses -
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/sbar_plot.pro
r157 r163 5 5 ; 6 6 ; @file_comments 7 ; Same thing that bar_plot but compatible with the whole environ nement (common.pro inclued)7 ; Same thing that bar_plot but compatible with the whole environment (common.pro included) 8 8 ; 9 9 ; @categories Graphics 10 10 ; 11 ; @keyword COLORS 11 ; @keyword COLORS {type=vector} 12 12 ; A vector, the same size as VALUES, containing the color index 13 13 ; to be used for each bar. If not specified, the colors are … … 15 15 ; possible within the available colors (specified by D.N_COLORS). 16 16 ; 17 ; @keyword COLORS 18 ; I s an integer givingcolor of all colorbars. (contrarily to colors17 ; @keyword COLORS {type=integer} 18 ; I gives color of all colorbars. (contrarily to colors 19 19 ; which is a vector giving the color of each colorbar). 20 20 ; 21 21 ; @keyword NOREINITPLT 22 ; We active it if we do not want environ nement variables !p, !x, !y, !z23 ; to be reiniti lalizted by the procedure reinitplt22 ; We active it if we do not want environment variables !p, !x, !y, !z 23 ; to be reinitializated by the procedure reinitplt 24 24 ; 25 25 ; @keyword _EXTRA … … 30 30 ; 31 31 ; @restrictions 32 ; If NOREINITPLT is not activated, all environ nement33 ; variables !p, !x, !y, !z are reinitializted by the procedure reinitplt32 ; If NOREINITPLT is not activated, all environment 33 ; variables !p, !x, !y, !z are reinitializted by the procedure reinitplt 34 34 ; 35 35 ; @examples -
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/scontour.pro
r157 r163 5 5 ; 6 6 ; @File_comments 7 ; Same thing that contour but compatible with the whole environ nement (common.pro inclued)7 ; Same thing that contour but compatible with the whole environment (common.pro included) 8 8 ; 9 9 ; @categories … … 11 11 ; 12 12 ; @keyword NOREINITPLT 13 ; We active it if we do not want environ nement variables !p, !x, !y, !z14 ; to be reinitilaliz ted by the procedure reinitplt13 ; We active it if we do not want environment variables !p, !x, !y, !z 14 ; to be reinitilalizated by the procedure reinitplt 15 15 ; 16 16 ; @keyword _EXTRA -
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/splot.pro
r157 r163 5 5 ; 6 6 ; file_comments 7 ; Same thing that plot but compatible with the whole environ nement (common.pro inclued)7 ; Same thing that plot but compatible with the whole environment (common.pro included) 8 8 ; 9 9 ; @categories … … 11 11 ; 12 12 ; @keyword NOREINITPLT 13 ; We active it if we do not want environ nement variables !p, !x, !y, !z14 ; to be reinitilaliz ted by the procedure reinitplt13 ; We active it if we do not want environment variables !p, !x, !y, !z 14 ; to be reinitilalizated by the procedure reinitplt 15 15 ; 16 16 ; @keyword _EXTRA … … 21 21 ; 22 22 ; @restrictions 23 ; If NOREINITPLT is not activated, all environ nement24 ; variables !p, !x, !y, !z are reinitializted by the procedure reinitplt23 ; If NOREINITPLT is not activated, all environment 24 ; variables !p, !x, !y, !z are reinitializted by the procedure reinitplt 25 25 ; 26 26 ; @examples -
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/tvplus.pro
r157 r163 14 14 ; 2D array to visualize 15 15 ; 16 ; @param CELLSIZE {in}{optiona }16 ; @param CELLSIZE {in}{optional} 17 17 ; This is the size (in pixel) of the square 18 18 ; representing 1 array element. By default, this size is computed … … 21 21 ; of cellsize that forces tvplus to create a window larger than 22 22 ; the screen, a "scrolling window" will be displayed instead of a 23 ; regular window. Unfortunately the nice f onctionnalities of tvplus23 ; regular window. Unfortunately the nice functionnalities of tvplus 24 24 ; are not coded for "scrolling window" case... 25 25 ; … … 34 34 ; 35 35 ; @keyword OFFSET 36 ; 2 elements vector used by tvplus itself when sho ing zoom.36 ; 2 elements vector used by tvplus itself when showing zoom. 37 37 ; It is used to shift the ranges of xaxis and yaxis. 38 38 ; For example: tvplus,sst[x1:x2,y1:y2],offest=[x1,y1] … … 54 54 ; 55 55 ; @keyword NOINTERP 56 ; Used this keyword if you don't w hant that the values56 ; Used this keyword if you don't want that the values 57 57 ; are interpolated from BOTTOM using NCOLORS colors. 58 ; This can be for example useful lwhen working on byte type arrays.58 ; This can be for example useful when working on byte type arrays. 59 59 ; 60 60 ; @keyword NOUSEINFOS 61 ; Activ ite to supress the printed message explaining how to use tvplus61 ; Activate to suppress the printed message explaining how to use tvplus 62 62 ; 63 63 ; @keyword WINDOW … … 74 74 ; right button : quit 75 75 ; 76 ; the nice f onctionnalities of tvplus are not coded76 ; the nice functionnalities of tvplus are not coded 77 77 ; for "scrolling window" case... 78 78 ;
Note: See TracChangeset
for help on using the changeset viewer.