FUNCTION REFERENCE
coneplot
Draw cones in a three-dimensional vector field as one patch.
Draw cones in a three-dimensional vector field as one patch.
Syntax
h = coneplot(X,Y,Z,U,V,W,Cx,Cy,Cz)Syntax
h = coneplot(U,V,W,Cx,Cy,Cz)Syntax
h = coneplot(X,Y,Z,U,V,W,'nointerp')Syntax
h = coneplot(ax,...,scale,color,method)Positions are flattened and sampled with interp3 using 'linear' (default), 'nearest', or 'cubic'. Positive scale adjusts cone lengths to grid spacing; zero uses the raw vector lengths. Color is a color name, RGB triplet, or field-sized array sampled at cone positions; otherwise speed supplies interpolated patch colors. Zero or nonfinite vectors do not create cones.
Example
[X,Y,Z] = meshgrid(1:3); U = ones(3,3,3); h = coneplot(X,Y,Z,U,0*U,0*U,2,2,2); set(h,'EdgeColor','none');Differences from MATLAB: Interpolated grid axes must be increasing; 'nointerp' uses X,Y,Z and U,V,W directly without grid-order restrictions. Patch geometry and interpolation have the same limits as patch and interp3. Quiver mode is not supported.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.