Skip to content

streamline() not working correctly #305

Closed
@xarico10

Description

@xarico10

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions