plotly / plotly/plotly_matlab

Size variation not working using swarmchart

オープン
#180 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

documentation
主要言語
MATLAB
スター
413
フォーク
166
PR マージ指標
30日以内にマージされた PR はありません

説明

The input argument sz isn't changing marker's size 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,5)
hold on
swarmchart(x2,y2,20)
swarmchart(x3,y3,50)
hold off

fig2plotly();

The previous code should plot 3 different series with 3 different marker's size, however, they're all being plotted with the same size.

Expected and generated (https://chart-studio.plotly.com/~xarico10/323/#/) plot:
Captura de Pantalla 2021-07-25 a la(s) 11 43 42 p  m
Captura de Pantalla 2021-07-25 a la(s) 11 43 55 p  m

Examples on using the sz input argument on swarmchart() can be found on:
https://www.mathworks.com/help/matlab/ref/swarmchart.html#mw_ea7dfc24-dc30-4f02-83a9-eb9d20bb2748

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、提供されている swarmchart の例を実行し、fig2plotly() の前後で出力を比較します。fig2plotly() が3つの系列の swarmchart sz 入力をどのように処理するかを追跡します。生成されたプロットが値 5、20、50 に対して目に見えて異なるマーカーサイズを保持していれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
matlab
領域
data-visualization
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。