|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
VectorScale
VectorScale
is an option to VectorPlot, ListVectorPlot, and related functions that determines the length and arrowhead size of field vectors that are drawn.
DetailsDetails
- The following settings can be given for VectorScale:
-
Automatic automatic setting based on the location of field vectors Large,Medium, Small, Tiny scale field vectors to be large, medium, etc. {unitlen,aratio,sfun} use explicit specification of field vector scale - With the explicit specification VectorScale->{unitlen, aratio, sfun} each field vector is constrained to fit in a vector box oriented in the direction of the field, centered at the location of the vector.
- The unitlen is given as a fraction of the diagonal of the overall bounding box and is used as a local scale for vector boxes, aratio is the aspect ratio for vector boxes, sfun is a scaling function that determines the width of vector boxes.
- The following settings can be used for unitlen:
-
s unit scale to use, given as a fraction of the diagonal of the overall bounding box Large,Medium,Small,Tiny symbolic unit lengths - The following settings can be used for aratio:
-
r absolute aspect ratio relative to unitlen Scaled[r] relative aspect ratio for each vector box Automatic correspond to Scaled[1] in 2D and Scaled[0.6] in 3D - The following settings can be used for sfun:
-
None all vector boxes are unitlen wide func a function of x, y, fx, fy, Norm[{fx, fy}] Automatic use Norm[{fx, fy}] - When using an explicit sfun, positive values are automatically scaled to lie between 0 and 1. For other values the vector is not drawn.
New in 7
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »



