Default colors not matching when using streamribbon()
Nobody has claimed this yet.
- Dominant language
- MATLAB
- Stars
- 413
- Forks
- 166
- PR merge metrics
- No merged PRs in 30d
Description
Default colors aren't matching when using streamribbon(). Also, a warning message is printed.
load wind
[sx,sy,sz] = meshgrid(80,20:10:50,0:5:15);
streamribbon(x,y,z,u,v,w,sx,sy,sz);
fig2plotly(gcf, 'offline', false);
The previous code prints the following warning message:
Estimated Draw Time SlowThe draw time for this plot will be slow for clients without much RAM.
And it does take a lot of time to plot.
Expected and generated (https://chart-studio.plotly.com/~xarico10/1015/#/) plots:


Examples on using streamribbon() can be found on:
https://www.mathworks.com/help/matlab/ref/streamribbon.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
Start by running the MATLAB example using streamribbon() and then fig2plotly(gcf, 'offline', false). Compare the expected and generated plots linked in the issue, and inspect the warning and plotting delay. Done means the generated colors match the expected plot and the reported slow-draw behavior is addressed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- matlab
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100