[Index for ./basics] [Return to Master Index]

ellscale

(./basics/ellscale.m)


Function Synopsis

ellscale(htel,unitn,scale_xor,scale_yor)

Help text


 ELLSCALE  draw a speed scale on an ellipse plot 

 ELLSCALE  draw a speed scale on an ellipse picture.  Typically
           called after TELLIPSE, passing the object handle returned 
           by TELLIPSE.  If TELLIPSE was used in "particle-excursion"
           mode, then ELLSCALE cannot draw a vector scale, as there is 
           to draw.

           htel MUST be the handle returned by TELLIPSE.
           TELLIPSE returns this number to the main
           workspace.

           unitn (optional) is the flag that indicates which
           units-text ELLSCALE should put on the figure to 
           correspond to the vector magnitudes:
 
              If omitted, ELLSCALE uses the string 'units'.
              If unitn=1, ELLSCALE uses the string 'm/sec'.
              If unitn=2, ELLSCALE uses the string 'cm/sec'.
              If unitn='text', ELLSCALE uses the string 'text'.
   
           This last option provides for the user to specify
           the string of choice for units.
  
           If unitn is anything other than one of the possibilities
           specified above, ELLSCALE aborts.

 Call as: >>  ellscale(h,unitn)

 Written by : Brian O. Blanton


Produced by mat2html on Tue Feb 2 16:15:45 EST 1999
Cross-Directory links are: OFF