plotly / plotly/plotly_matlab

Color variation not working using swarmchart

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

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

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

説明

The input argument c isn't changing marker's color 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')
hold off

fig2plotly();

The previous code should plot 3 different series with 3 different marker's color (red, green and blue), however, they're all being plotted with the default plotly colors.

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

Captura de Pantalla 2021-07-25 a la(s) 11 51 46 p  m

Examples on using the c input argument on swarmchart() can be found on:
https://www.mathworks.com/help/matlab/ref/swarmchart.html#mw_41bfbeb8-a8e2-4fd1-a6d8-c4b05cd5d8d8

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

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

はじめの一歩

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

調査の方向性

まず、swarmchart() を3回呼び出し、fig2plotly() を使用する MATLAB の例を実行します。次に、swarmchart() のマーカー色に関する fig2plotly() の変換エントリーポイントを追跡します。Issue に示されている赤、緑、青のマーカー色が、エクスポートされた Plotly figure で保持されれば完了です。

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

評価

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

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

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