Closed
Description
When using coneplot()
to plot velocity vectors as cones pointing in the direction of the velocity vector and having a length proportional to the magnitude of the velocity vector, the cones aren't filled by default, when they should.
load wind
xmin = min(x(:));
xmax = max(x(:));
ymin = min(y(:));
ymax = max(y(:));
zmin = min(z(:));
xrange = linspace(xmin,xmax,8);
yrange = linspace(ymin,ymax,8);
zrange = 3:4:15;
[cx,cy,cz] = meshgrid(xrange,yrange,zrange);
coneplot(x,y,z,u,v,w,cx,cy,cz,5);
fig2plotly(gcf, 'offline', false);
Expected and generated (https://chart-studio.plotly.com/~xarico10/1039/#/) plots:
Examples can be found on:
https://www.mathworks.com/help/matlab/ref/coneplot.html
Metadata
Metadata
Assignees
Labels
No labels