Skip to content

streamparticles() not working correctly #307

Open
@xarico10

Description

@xarico10

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

Metadata

Metadata

Assignees

No one assigned

    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