plotly / plotly/plotly_matlab

Default colors not matching when using streamribbon()

未关闭
#309 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
MATLAB
星标
413
派生
166
PR 合并指标
30 天内没有已合并 PR

描述

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:
Captura de Pantalla 2021-08-05 a la(s) 3 57 14 p  m
Captura de Pantalla 2021-08-05 a la(s) 3 57 27 p  m

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

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先使用 streamribbon() 运行 MATLAB 示例,然后运行 fig2plotly(gcf, 'offline', false)。比较 issue 中链接的预期绘图和生成的绘图,并检查警告和绘图延迟。当生成的颜色与预期绘图匹配,并且报告的绘制缓慢问题得到解决时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
matlab
领域
data-visualization
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。