Changeset 482 for trunk/SRC/ToBeReviewed


Ignore:
Timestamp:
02/07/13 15:30:32 (11 years ago)
Author:
smasson
Message:

add keywords in vecteur.pro

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/ToBeReviewed/PLOTS/VECTEUR/vecteur.pro

    r432 r482  
    150150; The format to be used to specify the norme of the reference vector. 
    151151; 
     152; @keyword VECTREFCHARSIZE 
     153; Character size of the legend of the reference arrow 
     154; 
     155; @keyword VECTREFCHARSIZE 
     156; Character thickness of the legend of the reference arrow 
     157; 
    152158; @keyword NOVECTREF 
    153159; To delete the display of the reference vector. 
     
    178184             , VECTREFPOS = vectrefpos, VECTNORMCOLOR = vectnormcolor $ 
    179185             , VECTREFFORMAT = vectrefformat, NOVECTREF = novectref $ 
     186             , VECTREFCHARSIZE = vectrefcharsize, VECTREFCHARTHICK = vectrefcharthick $ 
    180187             , _EXTRA = extra 
    181188; 
     
    486493 
    487494      arrow, x0, y0, x0+dx, y0, /norm, hsize = -.2, color = 0 
    488       xyouts, x0, y0, normelegende, /norm, align = 1, charsize = !p.charsize, color = 0 
     495      IF NOT keyword_set(vectrefcharsize) THEN vectrefcharsize = !p.charsize 
     496      IF NOT keyword_set(vectrefcharthick) THEN vectrefcharthick = !p.charthick 
     497      xyouts, x0, y0, normelegende, /norm, align = 1, charsize = vectrefcharsize, charthick = vectrefcharthick, color = 0 
    489498 
    490499    endif 
Note: See TracChangeset for help on using the changeset viewer.