plotly / plotly/plotly_matlab

Marker symbol variation not working using swarmchart

Ouverte
#182 0 commentaires 0 réactions 1 personne assignée Voir sur GitHub

@gilbertogalvis y travaille déjà.

Depuis le 16/10/2021.

documentation
Langage dominant
MATLAB
Étoiles
413
Forks
166
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

The input argument mkr isn't changing marker's symbol when using swarmchart().

rng(1)
x1 = ones(1,100);
x2 = 2 * ones(1,100);
x3 = 3 * ones(1,100);
y1 = 2 * randn(1,100);
y2 = [randn(1,50) randn(1,50) + 4];
y3 = 5 * randn(1,100) + 5;

swarmchart(x1,y1,'red','+')
hold on
swarmchart(x2,y2,'green','*')
swarmchart(x3,y3,'blue','d')
hold off

fig2plotly();

The previous code should plot 3 different series with 3 different marker symbol (+, * and diamonds), however, they're all being plotted with the default marker symbol.

Expected and generated (https://chart-studio.plotly.com/~xarico10/335/#/) plots:
Captura de Pantalla 2021-07-25 a la(s) 11 57 47 p  m

Captura de Pantalla 2021-07-25 a la(s) 11 57 33 p  m

Examples on using the mkr parameters can be found on:
https://www.mathworks.com/help/matlab/ref/swarmchart.html#mw_b4fe23df-071d-4ceb-991c-c53325d89599

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.