swarmchart not working correctly (doesn't present any jittering)
Aperta
@gilbertogalvis ci sta già lavorando.
Dal 8/9/2021.
documentation
- Lingua principale
- MATLAB
- Stelle
- 413
- Fork
- 166
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.