plotly_matlab icon indicating copy to clipboard operation
plotly_matlab copied to clipboard

streamparticles() not working correctly

Open xarico10 opened this issue 5 years ago • 0 comments

When using streamparticles() to draw stream particles of a vector field, the particles are plotted as a 3-D scatter chart.

load wind
[verts,averts] = streamslice(x,y,z,u,v,w,[],[],5); 
iverts = interpstreamspeed(x,y,z,u,v,w,verts,.05);
streamparticles(iverts, 200)

fig2plotly(gcf, 'offline', false);

Expected and generated (https://chart-studio.plotly.com/~xarico10/1009/#/) plots: Captura de Pantalla 2021-08-05 a la(s) 3 48 44 p  m Captura de Pantalla 2021-08-05 a la(s) 3 48 56 p  m

Examples on using streamparticles() can be found on: https://www.mathworks.com/help/matlab/ref/streamparticles.html

xarico10 avatar Aug 05 '21 20:08 xarico10