Skip to content

streamparticles() not working correctly #307

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
xarico10 opened this issue Aug 5, 2021 · 0 comments
Open

streamparticles() not working correctly #307

xarico10 opened this issue Aug 5, 2021 · 0 comments

Comments

@xarico10
Copy link
Contributor

xarico10 commented Aug 5, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant