coneplot
Plot cones in 3-D vector field
Syntax
Description
coneplot(
plots cones at sample locations (X,Y,Z,U,V,W,Cx,Cy,Cz)Cx, Cy,
Cz) within a Cartesian vector field. The magnitudes and orientations of
the cones are determined by the vector coordinates (X,
Y, Z) and the vector components
(U, V, W). The vector coordinates
define the location of each vector in 3-D space, and the vector components define the
magnitude and orientation of each vector.
coneplot(___, specifies a scale
factor for the lengths of the cones:s)
If
sis a positive number,coneplotadjusts the lengths of the cones so they do not overlap. Then it stretches the cones by a factor ofs. A scale factor of2doubles the lengths of the cones, and a scale factor of0.5halves the lengths of the cones. Larger values ofsmight result in overlapping cones.If
sis0,coneplotdoes not adjust or scale the lengths of the cones.
Specify s as the last argument in any of the preceding
syntaxes.
coneplot(___, specifies an
array for controlling the colors of the cones. The colors)colors array must be
the same size as one of the vector field arrays (X, Y,
Z, U, V, or
W).
coneplot(___,"quiver") draws arrows instead of cones.
This syntax does not support the colors argument.
coneplot(___, specifies the
interpolation method for calculating the magnitudes and orientations of the cones.method)
coneplot( plots into the
target axes ax,___)ax.
returns a
p = coneplot(___)Patch or Quiver object p.
Most syntaxes return a Patch object, but if you specify the
"quiver" option, coneplot returns a
Quiver object. Use p to set properties of the
object after creating it. For a list of properties, see Patch Properties or Quiver Properties.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced before R2006a



