Changeset 495 for trunk/SRC/ToBeReviewed/PLOTS/VECTEUR
- Timestamp:
- 04/17/14 10:49:43 (10 years ago)
- Location:
- trunk/SRC/ToBeReviewed/PLOTS/VECTEUR
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note: See TracChangeset
for help on using the changeset viewer.