streamparticles() not working correctly
Nobody has claimed this yet.
- Dominant language
- MATLAB
- Stars
- 413
- Forks
- 166
- PR merge metrics
- No merged PRs in 30d
Description
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:


Examples on using streamparticles() can be found on:
https://www.mathworks.com/help/matlab/ref/streamparticles.html
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with the provided wind, streamslice(), interpstreamspeed(), streamparticles(), and fig2plotly() example, then compare the generated chart with the expected image and the MathWorks streamparticles() examples. Done means the converted plot preserves the stream-particle visualization instead of rendering it as a 3-D scatter chart.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- matlab
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100