Skip to content

streamline() not working correctly #305

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

Closed
xarico10 opened this issue Aug 5, 2021 · 2 comments
Closed

streamline() not working correctly #305

xarico10 opened this issue Aug 5, 2021 · 2 comments
Assignees

Comments

@xarico10
Copy link
Contributor

xarico10 commented Aug 5, 2021

When using streamline() to draw streamlines from 3-D vector data, a polar plane is being printed on top of the lines.

[x,y] = meshgrid(0:0.1:1,0:0.1:1);
u = x;
v = -y;
figure
startx = 0.1:0.1:1;
starty = ones(size(startx));
streamline(x,y,u,v,startx,starty)

fig2plotly(gcf, 'offline', false);

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

Captura de Pantalla 2021-08-05 a la(s) 3 34 55 p  m

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

@gilbertogalvis
Copy link
Contributor

This issue was fixed join to the issue #302. Specifically using this PR #317

Screen Shot 2021-08-09 at 5 39 49 PM

Screen Shot 2021-08-09 at 5 40 16 PM

@gilbertogalvis
Copy link
Contributor

@xarico10 please update your local master brach (using git pull) and test this again :)

@gilbertogalvis gilbertogalvis self-assigned this Aug 9, 2021
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