Changeset 495 for trunk/SRC/ToBeReviewed/PLOTS
- Timestamp:
- 04/17/14 10:49:43 (10 years ago)
- Location:
- trunk/SRC/ToBeReviewed/PLOTS
- Files:
-
- 30 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/plt.pro
r493 r495 150 150 ; specified min/max are not filled. Note that max values a considered 151 151 ; as missing values so cells containing one or more corners with 152 ; values above max will have no contours drawn through them. 152 ; values above max will have no contours drawn through them. 153 153 ; 154 154 ; @keyword STYLE {default=style=0} … … 347 347 IF keyword_set(strictfill) THEN BEGIN 348 348 tmp = z2d ge max 349 IF total(tmp GE 1) THEN BEGIN 349 IF total(tmp GE 1) THEN BEGIN 350 350 tmp = 1b - byte(extrapolate(tmp, tmp, 1, x_periodic = keyword_set(key_periodic)*(nx EQ jpi) )) 351 351 trifield = triangule(temporary(tmp)*mask, coinmonte = coinmontemask $ -
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/plt1d.pro
r378 r495 11 11 ; 1) An array which can be: 12 12 ; 13 ; * 2d, 3d or 4d: array xy, xyz. xyt or xyzt. In this case, the array 14 ; will pass in <pro>moyenne</pro> or <pro>grossemoyenne</pro> to be 13 ; * 2d, 3d or 4d: array xy, xyz. xyt or xyzt. In this case, the array 14 ; will pass in <pro>moyenne</pro> or <pro>grossemoyenne</pro> to be 15 15 ; averaged and become an array 1d. 16 ; * 1d:Nevertheless, the type must be specified in order to we know which 17 ; trace it is about. To have a correct caption, respecify the extraction 16 ; * 1d:Nevertheless, the type must be specified in order to we know which 17 ; trace it is about. To have a correct caption, respecify the extraction 18 18 ; zone via BOXZOOM. 19 19 ; 2) a structure respecting all criterions specified by <pro>litchamp</pro> … … 33 33 ; 34 34 ; @keyword BOXZOOM 35 ; Vector indicating the geographic zone (3d) on which the extraction of the 35 ; Vector indicating the geographic zone (3d) on which the extraction of the 36 36 ; field must be done to do the hovmoeller. 37 37 ; … … 43 43 ; 6 elements: The extraction is made on Boxzoom 44 44 ; 45 ; Where lon1, lon2,lat1,lat2,vert1,vert2 are global variables defined at 45 ; Where lon1, lon2,lat1,lat2,vert1,vert2 are global variables defined at 46 46 ; the last <pro>domdef</pro> ! 47 47 ; -
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/pltsc.pro
r327 r495 101 101 IF finite(max2) EQ 0 THEN max2 = max(tab2) 102 102 103 104 103 ; init plot if not overlay 105 104 -
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/pltt.pro
r493 r495 4 4 ; Trace hovmoeller graphs: xt,yt,zt,t 5 5 ; 6 ; @categories 6 ; @categories 7 7 ; Graphics 8 8 ; … … 23 23 ; 2) a structure respecting all criterions specified by <pro>litchamp</pro> 24 24 ; The array contained in the structure respecting criterions of case 1) 25 ; 25 ; 26 26 ; @param GIVENTYPE 27 27 ; … … 52 52 ; 6 elements: The extraction is made on Boxzoom 53 53 ; 54 ; Where lon1, lon2,lat1,lat2,vert1,vert2 are global variables defined at the last 54 ; Where lon1, lon2,lat1,lat2,vert1,vert2 are global variables defined at the last 55 55 ; <pro>domdef</pro> ! 56 56 ; … … 153 153 ; specified min/max are not filled. Note that max values a considered 154 154 ; as missing values so cells containing one or more corners with 155 ; values above max will have no contours drawn through them. 155 ; values above max will have no contours drawn through them. 156 156 ; 157 157 ; @keyword STYLE {default=style=0} … … 198 198 ; $Id$ 199 199 ; 200 ; @todo 200 ; @todo 201 201 ; seb: definition of parameters, L.426 Ã 427, L. 492 Ã 493 202 202 ; … … 475 475 IF keyword_set(strictfill) THEN BEGIN 476 476 tmp = z2d ge max 477 IF total(tmp GE 1) THEN BEGIN 477 IF total(tmp GE 1) THEN BEGIN 478 478 tmp = 1b - byte(extrapolate(tmp, tmp, 1)) 479 479 key_save = key_periodic & key_periodic = 0 -
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/pltv.pro
r479 r495 4 4 ; Draw 2d plots with TV procedure 5 5 ; 6 ; @categories 6 ; @categories 7 7 ; find a file 8 8 ; graphic … … 32 32 ; 6 elements: The extraction is made on Boxzoom 33 33 ; 34 ; Where lon1, lon2, lat1, lat2 are global variables defined at the last 34 ; Where lon1, lon2, lat1, lat2 are global variables defined at the last 35 35 ; <pro>domdef</pro> ! 36 36 ; … … 60 60 ; @keyword _EXTRA 61 61 ; Used to pass keywords to <pro>placedessin</pro>, <proidl>TV</proidl>, 62 ; <pro>axe</pro>, <pro>legende</pro>, <pro>barrecouleur</pro>, 62 ; <pro>axe</pro>, <pro>legende</pro>, <pro>barrecouleur</pro>, 63 63 ; <pro>terminedessin</pro> 64 64 ; -
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/pltz.pro
r493 r495 34 34 ; 6 elements: The extraction is made on Boxzoom 35 35 ; 36 ; Where lon1, lon2,lat1,lat2 are global variables defined at the last 36 ; Where lon1, lon2,lat1,lat2 are global variables defined at the last 37 37 ; <pro>domdef</pro> ! 38 38 ; … … 85 85 ; 86 86 ; @keyword ZRATIO {default=2./3} 87 ; When the drawing has a zoomed part, it is the size ratio between the zoomed 87 ; When the drawing has a zoomed part, it is the size ratio between the zoomed 88 88 ; part, hz (zoom height), and the whole drawing, ht (total height). 89 89 ; … … 115 115 ; @keyword NOMASK 116 116 ; activate to suppress the use of the land-sea mask when plotting the field 117 ; 117 ; 118 118 ; @keyword NO_PARTIALSTEP 119 119 ; activate to suppress the use of partial steps (force key_partialstep = 0 within pltz) … … 144 144 ; specified min/max are not filled. Note that max values a considered 145 145 ; as missing values so cells containing one or more corners with 146 ; values above max will have no contours drawn through them. 146 ; values above max will have no contours drawn through them. 147 147 ; 148 148 ; @keyword STYLE {default=style=0} … … 174 174 ; $Id$ 175 175 ; 176 ; @todo 176 ; @todo 177 177 ; seb definition of parameters L.215 Ã 221 178 178 ; … … 211 211 ; 212 212 if n_elements(contour) ne 4 THEN saveboxparam, 'boxparam4pltz.dat' 213 key_partialstep = keyword_set(key_partialstep) * (1b - keyword_set(no_partialstep)) 213 key_partialstep = keyword_set(key_partialstep) * (1b - keyword_set(no_partialstep)) 214 214 ;-------------------------------------------------------------- 215 215 ; Reading of the field. … … 278 278 z2d = reverse(z2d, 2) 279 279 szmsk = size(mask, /dimensions) 280 IF keyword_set(nomask) THEN mask = replicate(1b, szmsk[0], szmsk[1]) 280 IF keyword_set(nomask) THEN mask = replicate(1b, szmsk[0], szmsk[1]) 281 281 IF keyword_set(maskdta) THEN mask = byte(fitintobox(maskdta)) 282 282 ;----------------------------------------------------------------------------- … … 328 328 IF keyword_set(strictfill) THEN BEGIN 329 329 tmp = z2d ge max 330 IF total(tmp GE 1) THEN BEGIN 330 IF total(tmp GE 1) THEN BEGIN 331 331 tmp = 1b - byte(extrapolate(tmp, tmp, 1)) 332 332 key_save = key_periodic & key_periodic = 0 … … 376 376 axis4pltz, type, mask, glammsk, gphimsk, gdepmsk, XXAXIS = xmask, ZZAXIS = zmask, SIN = sin, ZRATIO = zratio, ZOOM = zoom, PROFMAX = profmax, PROFMIN = profmin, _extra = ex 377 377 szmsk = size(mask, /dimensions) 378 IF keyword_set(nomask) THEN mask = replicate(1b, szmsk[0], szmsk[1]) 378 IF keyword_set(nomask) THEN mask = replicate(1b, szmsk[0], szmsk[1]) 379 379 ENDIF ELSE BEGIN 380 380 xmask = xxaxis -
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/sbar_plot.pro
r471 r495 2 2 ; 3 3 ; @file_comments 4 ; Same thing that bar_plot but compatible with the whole environment 4 ; Same thing that bar_plot but compatible with the whole environment 5 5 ; (<pro>common</pro> included) 6 6 ; -
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/scontour.pro
r493 r495 2 2 ; 3 3 ; @file_comments 4 ; Same thing that contour but compatible with the whole environment 4 ; Same thing that contour but compatible with the whole environment 5 5 ; (<pro>common</pro> included) 6 6 ; … … 19 19 ; 20 20 ; @examples 21 ; 21 ; 22 22 ; IDL> z = dist(100) 23 23 ; IDL> scontour, z, nlevels=10,small=[1,2,1],xstyle=1,ystyle=1 -
trunk/SRC/ToBeReviewed/PLOTS/DESSINE/splot.pro
r493 r495 2 2 ; 3 3 ; @file_comments 4 ; Same thing than plot but compatible with the whole environment 4 ; Same thing than plot but compatible with the whole environment 5 5 ; (<pro>common</pro> included) 6 6 ; … … 20 20 ; @restrictions 21 21 ; If NOREINITPLT is not activated, all environment 22 ; variables !p, !x, !y, !z are reinitialized by the procedure 22 ; variables !p, !x, !y, !z are reinitialized by the procedure 23 23 ; <pro>reinitplt</pro> 24 24 ; -
trunk/SRC/ToBeReviewed/PLOTS/DIVERS/addaxe.pro
r378 r495 2 2 ; 3 3 ; @file_comments 4 ; Add an axis when we do an oblique section in <pro>pltz</pro>, 4 ; Add an axis when we do an oblique section in <pro>pltz</pro>, 5 5 ; <pro>pltt</pro> or <pro>plt1d</pro> 6 6 ; -
trunk/SRC/ToBeReviewed/PLOTS/DIVERS/autoscale.pro
r493 r495 15 15 ; 16 16 ; @param CI {out} {type=real} 17 ; the contour interval. Use it in <proidl>CONTOUR</proidl> with the 17 ; the contour interval. Use it in <proidl>CONTOUR</proidl> with the 18 18 ; keyword LEVEL. 19 19 ; -
trunk/SRC/ToBeReviewed/PLOTS/DIVERS/axis4pltz.pro
r378 r495 27 27 ; 28 28 ; @keyword ZRATIO {default=2./3} 29 ; When the drawing has a zoomed part, it is the size ratio between the zoomed 29 ; When the drawing has a zoomed part, it is the size ratio between the zoomed 30 30 ; part, hz (zoom height), and the whole drawing, ht (total height). 31 31 ; -
trunk/SRC/ToBeReviewed/PLOTS/DIVERS/checkfield.pro
r378 r495 15 15 ; 16 16 ; @param NAME {in}{optional}{type=string} 17 ; It gives the name of the file to be opened. 17 ; It gives the name of the file to be opened. 18 18 ; 19 19 ; If NAME … … 162 162 ; 6 elements: The extraction is made on Boxzoom 163 163 ; 164 ; Where lon1, lon2,lat1,lat2 are global variables defined at the last 164 ; Where lon1, lon2,lat1,lat2 are global variables defined at the last 165 165 ; <pro>domdef</pro> ! 166 166 ; … … 171 171 ; @keyword VECTEUR{type=vector} 172 172 ; It is a structure composed by 2 elements containing the 2 fields U 173 ; and V of values of the zonal and meridian component of the vector of 173 ; and V of values of the zonal and meridian component of the vector of 174 174 ; the fields to draw. 175 175 ; -
trunk/SRC/ToBeReviewed/PLOTS/DIVERS/checktypeminmax.pro
r370 r495 169 169 ENDWHILE 170 170 ; 171 ;172 173 171 return 174 172 end -
trunk/SRC/ToBeReviewed/PLOTS/DIVERS/determineminmax.pro
r378 r495 105 105 ENDIF 106 106 107 108 107 return 109 108 end -
trunk/SRC/ToBeReviewed/PLOTS/DIVERS/givewindowsize.pro
r479 r495 40 40 IF NOT keyword_set(dpi) THEN dpi = 72 41 41 coef = dpi/2.54 ; 1 inch = 2.54 cm 42 ENDIF ELSE BEGIN 42 ENDIF ELSE BEGIN 43 43 dimensions = get_screen_size(RESOLUTION = resolution) 44 44 coef = floor(1./resolution[0]) -
trunk/SRC/ToBeReviewed/PLOTS/DIVERS/placecolor.pro
r378 r495 4 4 ; allows to trace the independently from a graph 5 5 ; 6 ; By default, trace a color bar of the same type than the one present in 6 ; By default, trace a color bar of the same type than the one present in 7 7 ; <pro>plt</pro> 8 8 ; and <pro>pltz</pro>. … … 35 35 ; 36 36 ; @todo 37 ; reference to plein2dessin in restriction not understa ble:37 ; reference to plein2dessin in restriction not understand : 38 38 ; plein2dessin does'nt exist. 39 39 ; -
trunk/SRC/ToBeReviewed/PLOTS/DIVERS/placedessin.pro
r480 r495 8 8 ; 9 9 ; @param TYPEDESSIN {type=string} 10 ; It specify what procedure is called by <pro>placedessin</pro> : 10 ; It specify what procedure is called by <pro>placedessin</pro> : 11 11 ; 'plt', 'pltz' or 'pltt' 12 12 ; … … 15 15 ; 16 16 ; Comment: To position the drawing, we have to do !p.position=posfenetre 17 ; after the call of the calib er17 ; after the call of the calibre 18 18 ; 19 19 ; @param POSBAR {out}{type=vector} … … 64 64 ; small portion of a page or screen. It delimit the zone where the drawing will be done. 65 65 ; 66 ; If there is 4 elements then is constituted of coordinates (expressed in cm 67 ; located from the up and left corner of the page or the window (in portrait 68 ; like in landscape) of the bottom and left corner and of the up and right 66 ; If there is 4 elements then is constituted of coordinates (expressed in cm 67 ; located from the up and left corner of the page or the window (in portrait 68 ; like in landscape) of the bottom and left corner and of the up and right 69 69 ; corner of the drawing zone. 70 70 ; 71 ; If there is 3 elements, we divide the page or the screen in small[0] columns 72 ; and in small[1] lines, the drawing is made in the box numbered small[2]. 71 ; If there is 3 elements, we divide the page or the screen in small[0] columns 72 ; and in small[1] lines, the drawing is made in the box numbered small[2]. 73 73 ; 74 74 ; The numerotation starting up and left by 75 75 ; the number 1 and then, following the writing direction. 76 76 ; 77 ; By default, we make the largest drawing we can do, conserving the aspect 77 ; By default, we make the largest drawing we can do, conserving the aspect 78 78 ; ratio (except when REMPLI is activated). 79 79 ; … … 82 82 ; 83 83 ; @keyword POST 84 ; Make a postscript. 84 ; Make a postscript. 85 85 ; 86 86 ; Only works if we made one drawing on the page. … … 103 103 ; whose we have the colored drawing (by example E-P in color and QSR in contours). 104 104 ; 105 ; It must be a field respecting same characteristics than the argument number 105 ; It must be a field respecting same characteristics than the argument number 106 106 ; one of <pro>plt</pro>. 107 107 ; 108 108 ; @keyword ENDPOINTS 109 ; keyword specifying that we want to make a vertical cut in diagonal. 110 ; 111 ; Then coordinated of extremities of these ones are defined by the 4 elements 109 ; keyword specifying that we want to make a vertical cut in diagonal. 110 ; 111 ; Then coordinated of extremities of these ones are defined by the 4 elements 112 112 ; of the vector ENDPOINTS: [x1,y1,x2,y2] which are coordinates. 113 113 ; … … 115 115 ; It is a structure composed by 2 elements containing the 2 fields U 116 116 ; and V of values of the zonal and meridian component of the vector of the fields 117 ; to draw. 117 ; to draw. 118 118 ; 119 119 ; These fields can be an array or a structure. … … 255 255 device, set_resolution = windsize 256 256 erase 257 ENDIF ELSE BEGIN 257 ENDIF ELSE BEGIN 258 258 if not keyword_set(window) then winnumb = 0 ELSE winnumb = window 259 259 window, winnumb, xsize = windsize[0], ysize = windsize[1], retain = 2, _extra = ex -
trunk/SRC/ToBeReviewed/PLOTS/DIVERS/saveatt.pro
r378 r495 2 2 ; 3 3 ; @file_comments 4 ; Allows to put in a structure attributes which can be associated with 4 ; Allows to put in a structure attributes which can be associated with 5 5 ; a variable. 6 6 ; -
trunk/SRC/ToBeReviewed/PLOTS/DIVERS/terminedessin.pro
r378 r495 8 8 ; 9 9 ; @keyword POST 10 ; Make a postscript. 10 ; Make a postscript. 11 11 ; 12 12 ; Only works if we made one drawing on the page. … … 15 15 ; @keyword SMALL {type=vector} 16 16 ; Vector composed of 3 or 4 elements, applied to make a drawing on a 17 ; small portion of a page or screen. 17 ; small portion of a page or screen. 18 18 ; 19 19 ; It delimit the zone where the drawing will be done. 20 20 ; 21 ; If there is 4 elements then is constituted of coordinates (expressed in cm 22 ; located from the up and left corner of the page or the window (in portrait 23 ; like in landscape)) of the bottom and left corner and of the up and right 21 ; If there is 4 elements then is constituted of coordinates (expressed in cm 22 ; located from the up and left corner of the page or the window (in portrait 23 ; like in landscape)) of the bottom and left corner and of the up and right 24 24 ; corner of the drawing zone. 25 25 ; 26 ; If there is 3 elements we divide the page or the screen in small[0] columns 27 ; and in small[1] lines and the drawing is made in the box numbered small[2]. 26 ; If there is 3 elements we divide the page or the screen in small[0] columns 27 ; and in small[1] lines and the drawing is made in the box numbered small[2]. 28 28 ; 29 ; The numerotation starting up and left by the number 1 and then, following 29 ; The numerotation starting up and left by the number 1 and then, following 30 30 ; the writing direction. 31 31 ; 32 ; By default, we make the largest drawing we can do, conserving the aspect 32 ; By default, we make the largest drawing we can do, conserving the aspect 33 33 ; ration (except when REMPLI is activated). 34 34 ; -
trunk/SRC/ToBeReviewed/PLOTS/LABEL/label.pro
r479 r495 2 2 ; 3 3 ; @file_comments 4 ; Allows to choose the type of the label we want to use at the time of a 4 ; Allows to choose the type of the label we want to use at the time of a 5 5 ; contour. 6 6 ; -
trunk/SRC/ToBeReviewed/PLOTS/LABEL/label_date.pro.new
r39 r495 119 119 ; Added AM_PM and DAYS_OF_WEEK keywords, '%A' and '%W' codes. 120 120 ;- 121 122 121 123 122 ;-------------------------------------------------- LABEL_DATE_CONVERT_FORMAT … … 178 177 END 179 178 180 181 179 ;----------------------------------------------------------------- LABEL_DATE 182 180 FUNCTION LABEL_DATE, axisIn, indexIn, valueIn, levelIn, $ … … 193 191 ON_ERROR, 2 194 192 195 196 193 IF (N_PARAMS() LT 3) THEN $ ; use default for no inputs 197 194 IF NOT KEYWORD_SET(dateFormat) THEN dateFormat='' 198 199 195 200 196 ; process a new months vector? … … 207 203 if (N_ELEMENTS(months) EQ 12) then cMonths = months 208 204 209 210 205 ; process a new days_of_week vector? 211 206 ; if days_of_week is undefined, then make cDaysWeek undefined … … 217 212 if (N_ELEMENTS(days_of_week) EQ 7) then cDaysWeek = days_of_week 218 213 219 220 214 ; process a new AM_PM vector? 221 215 ; if AM_PM is undefined, then make cAmpm undefined … … 227 221 if (N_ELEMENTS(am_pm) EQ 2) then cAmpm = am_pm 228 222 229 230 223 ; process a new cOffset? 231 224 IF ARG_PRESENT(offs) THEN cOffset = 0 … … 234 227 IF (N_ELEMENTS(cOffset) EQ 0) THEN cOffset = 0d 235 228 236 237 229 ; process a new cRoundup? 238 230 IF (N_ELEMENTS(round_up) GT 0) THEN cRoundup = KEYWORD_SET(round_up) 239 240 231 241 232 ; process a new date_format string? … … 248 239 IF (N_ELEMENTS(cFormatArray) EQ 0) THEN cFormatArray = '(C())' 249 240 250 251 241 IF (N_PARAMS() LT 3) THEN RETURN, 0 252 253 242 254 243 ;------------------------------------------------------ Process an axis value … … 257 246 time = value1 - date ; Julian time 258 247 259 260 248 IF (N_ELEMENTS(levelIn) LT 1) THEN levelIn = 0 261 249 nFormat = N_ELEMENTS(cFormatArray) 262 250 formatLevel = cFormatArray[levelIn MOD nFormat] ; repeat cyclically 263 264 251 265 252 ; Round subseconds to the desired precision … … 273 260 value1 = date + time 274 261 ENDIF 275 276 262 277 263 ; Round fractional time to the least significant format specified. … … 291 277 ENDIF 292 278 293 294 279 ; check for negative (B.C.E.) years 295 280 jan1_1ad = 1721424L ; Julian date for 1 Jan, 1 C.E. -
trunk/SRC/ToBeReviewed/PLOTS/LABEL/lataxe.pro
r369 r495 2 2 ; 3 3 ; @file_comments 4 ; function called by [XYZ]TICKFORMAT (see the help to see how to use it) to 4 ; function called by [XYZ]TICKFORMAT (see the help to see how to use it) to 5 5 ; label axes in latitude. 6 6 ; 7 7 ; @categories 8 8 ; Graphics 9 ; 10 ; @param AXIS 9 ; 10 ; @param AXIS 11 11 ; It is the axis number: 0 for X axis, 1 for Y axis, 2 for Z axis. 12 12 ; -
trunk/SRC/ToBeReviewed/PLOTS/LABEL/lonaxe.pro
r369 r495 2 2 ; 3 3 ; @file_comments 4 ; function called by [XYZ]TICKFORMAT (see the help to see how to use it) to 4 ; function called by [XYZ]TICKFORMAT (see the help to see how to use it) to 5 5 ; label axes in longitude. 6 6 ; 7 7 ; @categories 8 8 ; Graphics 9 ; 10 ; @param AXIS 9 ; 10 ; @param AXIS 11 11 ; It is the axis number: 0 for X axis, 1 for Y axis, 2 for Z axis. 12 12 ; -
trunk/SRC/ToBeReviewed/PLOTS/VECTEUR/ajoutvect.pro
r490 r495 135 135 ; We recuperate the complete grid to establish a big mask extensive 136 136 ; in the four directions to cover points for which a land point has 137 ; been considerate d(do a small drawing)137 ; been considerate (do a small drawing) 138 138 ;---------------------------------------------------------------------------- 139 139 vargrid='T' … … 141 141 mskv = (vmask())[indice2d+jpi*jpj*firstzt] 142 142 IF keyword_set(cont_nofill) THEN BEGIN ; make sure msku/v contains only 1 143 msku = finite(msku) 144 mskv = finite(msku) 143 msku = finite(msku) 144 mskv = finite(msku) 145 145 ENDIF 146 146 glam = glamt[indice2d] … … 246 246 ELSE vectlegende = {minmax:[mini, maxi], unite:varunit} 247 247 248 249 248 sortie: 250 249 if keyword_set(key_performance) NE 0 THEN print, 'temps ajoutvect', systime(1)-tempsun -
trunk/SRC/ToBeReviewed/PLOTS/VECTEUR/vecteur.pro
r493 r495 5 5 ; @categories 6 6 ; 7 ; @param angle 7 ; @param angle 8 8 ; 9 9 ; @returns … … 24 24 ; by rapport at the x axis and which must do 1 cm on the drawing. 25 25 ; Angle can be an array. 26 ;27 ;28 26 ; 29 27 compile_opt idl2, strictarrsubs … … 72 70 ; 73 71 ; normalize the vector 74 ;75 72 ; 76 73 compile_opt idl2, strictarrsubs … … 191 188 @common 192 189 tempsun = systime(1) ; For key_performance 193 ;194 190 ; 195 191 taille = size(composanteu) … … 253 249 ; determine on the drawing. 254 250 ; 255 ;256 251 ; Stage 1, a) 257 ;258 252 ; 259 253 ; coordinates of the point T (beginning of the arrow) in spherical coordinates. … … 377 371 if ind[0] NE -1 then glam[ind] = glam[ind]-360. 378 372 ; 379 ;380 373 ; Stage 1, e) 381 374 ; … … 405 398 ; 406 399 points = where(msk EQ 1) 407 IF points[0] NE -1 THEN BEGIN 400 IF points[0] NE -1 THEN BEGIN 408 401 409 402 x0 = x0[points] & x1 = x1[points] … … 448 441 ; define colors before norme is changed... 449 442 IF NOT KEYWORD_SET(vectcolor) THEN vectcolor = 0 450 IF keyword_set(vectnormcolor) THEN BEGIN 443 IF keyword_set(vectnormcolor) THEN BEGIN 451 444 mp = projsegment([vectnormcolor], [1, 254], /mp) 452 445 colors = byte(round(mp[0] * norme + mp[1] )) … … 500 493 endif 501 494 ; 502 ;503 504 495 if keyword_set(key_performance) NE 0 THEN print, 'temps vecteur', systime(1)-tempsun 505 496 ;------------------------------------------------------------ … … 507 498 return 508 499 END 509 510 511 512 -
trunk/SRC/ToBeReviewed/PLOTS/axe.pro
r493 r495 2 2 ; 3 3 ; @file_comments 4 ; Manage axes for the different drawings created by 4 ; Manage axes for the different drawings created by 5 5 ; <pro>plt</pro>, <pro>pltz</pro> and <pro>pltt</pro> 6 6 ; -
trunk/SRC/ToBeReviewed/PLOTS/legende.pro
r493 r495 20 20 ; whose we have the colored drawing (by example E-P in color and QSR in contours). 21 21 ; 22 ; It must be a field respecting same characteristics than the argument number 22 ; It must be a field respecting same characteristics than the argument number 23 23 ; one of plt. 24 24 ; … … 33 33 ; 34 34 ; @restrictions 35 ; The use of the global variable language allows to change the language and 35 ; The use of the global variable language allows to change the language and 36 36 ; the caption easily. 37 37 ; … … 91 91 vertz = type_yz 92 92 legniv = ' '+type_yz 93 ENDIF ELSE BEGIN 93 ENDIF ELSE BEGIN 94 94 vertz = depthf2 95 95 legniv = ' m' 96 ENDELSE 96 ENDELSE 97 97 ; 98 98 ; Start legende -
trunk/SRC/ToBeReviewed/PLOTS/reinitplt.pro
r369 r495 142 142 return 143 143 end 144 145 146 147 148 149 -
trunk/SRC/ToBeReviewed/PLOTS/style.pro
r493 r495 53 53 ; before and after the threshold value and a bold solid line for the 54 54 ; value itself, a more general definition can be given with a scalar 55 ; string with the following structure: 'xxNN...NNyy' with 56 ; xx and yy corresponding to one the following choices (with the 55 ; string with the following structure: 'xxNN...NNyy' with 56 ; xx and yy corresponding to one the following choices (with the 57 57 ; corresponding meaning) 58 58 ; so -> Solid … … 62 62 ; ld -> Long Dashes 63 63 ; and NN...NN any kind of number that will define the threshold value. 64 ; for example 'do-6.6so' will do dotted line until -6.6 and solid line after. 64 ; for example 'do-6.6so' will do dotted line until -6.6 and solid line after. 65 65 ; 66 66 ; @param LEVEL_Z2D {in}{required} … … 69 69 ; @param LINESTYLE {out} 70 70 ; Used interbally by plt(z)(t) to define c_linestyle when calling pltbase. 71 ; Vector used to define the isocontour's style. 71 ; Vector used to define the isocontour's style. 72 72 ; 73 73 ; @param THICK {out} 74 74 ; Used interbally by plt(z)(t) to define c_thick when calling pltbase. 75 ; Vector used to define the isocontour's thickness. 75 ; Vector used to define the isocontour's thickness. 76 76 ; 77 77 ; @history … … 141 141 thresholdstyle, limit, 2, 0, level_z2d, linestyle, thick 142 142 END 143 ; Solid-Bold, solid-thin, dash Dot-thin, solid-thin, Solid-Bold... 143 ; Solid-Bold, solid-thin, dash Dot-thin, solid-thin, Solid-Bold... 144 144 3: begin 145 145 n = n_elements(level_z2d) … … 169 169 end 170 170 endcase 171 ENDELSE 172 171 ENDELSE 173 172 174 173 return
Note: See TracChangeset
for help on using the changeset viewer.