swarmchart not working correctly (doesn't present any jittering)
未关闭
@gilbertogalvis 已经在做这个了。
开始于 2021年9月8日。
documentation
- 主要语言
- MATLAB
- 星标
- 413
- 派生
- 166
- PR 合并指标
- 30 天内没有已合并 PR
描述
When using swarmchart() data is supposed to be offset (jittered) in the x-dimension for easier visualization. However, this isn't happening and data is just being plotted and stacked on its original value:
For example:
rng(1)
x = [ones(1,500) 2*ones(1,500) 3*ones(1,500)];
y1 = 2 * randn(1,500);
y2 = 3 * randn(1,500) + 5;
y3 = 5 * randn(1,500) + 5;
y = [y1 y2 y3];
swarmchart(x,y)
fig2plotly();
Expected and generated (https://chart-studio.plotly.com/~xarico10/337/#/) plots:


Examples on using swarmchart() can be found on:
https://www.mathworks.com/help/matlab/ref/swarmchart.html#responsive_offcanvas
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
评估
这个 Issue 还没有评估数据。