Skip to content
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

streamslice() and streamparticles() not working correctly #306

Closed
xarico10 opened this issue Aug 5, 2021 · 1 comment
Closed

streamslice() and streamparticles() not working correctly #306

xarico10 opened this issue Aug 5, 2021 · 1 comment
Assignees

Comments

@xarico10
Copy link
Contributor

xarico10 commented Aug 5, 2021

When using streamslice() to draw well-spaced streamlines (with direction arrows), lines and arrows are being plotted as a 3-D scatter chart.

load wind
streamslice(x,y,z,u,v,w,[],[],5)

fig2plotly(gcf, 'offline', false);

Expected and generated (https://chart-studio.plotly.com/~xarico10/1005/#/) plots:
Captura de Pantalla 2021-08-05 a la(s) 3 38 49 p  m
Captura de Pantalla 2021-08-05 a la(s) 3 39 00 p  m

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

@xarico10 xarico10 changed the title streamslice() not working correctly streamslice() and streamparticles() not working correctly Aug 5, 2021
@gilbertogalvis gilbertogalvis self-assigned this Aug 9, 2021
gilbertogalvis pushed a commit that referenced this issue Aug 9, 2021

Verified

This commit was signed with the committer’s verified signature. The key has expired.
suzuki-shunsuke Shunsuke Suzuki
@gilbertogalvis gilbertogalvis mentioned this issue Aug 9, 2021
@gilbertogalvis
Copy link
Contributor

PR #330 fix this issue

Screen Shot 2021-08-09 at 6 12 41 PM

Screen Shot 2021-08-09 at 6 13 25 PM

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

2 participants