plotly / plotly/plotly_matlab

Issues when plotting stacked and non-stacked bar graphs on same figure

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

@harshpurwar がすでに取り組んでいます。

2021年7月29日 から。

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

説明

Not possible to plot stacked and non-stacked bar graphs on same figure:

y = [1 2 3; 4 5 6];
tiledlayout(2,1)

% Top bar graph
ax1 = nexttile;
bar(ax1,y)

% Bottom bar graph
ax2 = nexttile;
bar(ax2,y,'stacked')

fig2plotly();

Expected and generated (https://chart-studio.plotly.com/~xarico10/561/#/) plots:
Captura de Pantalla 2021-07-27 a la(s) 8 09 09 p  m
Captura de Pantalla 2021-07-27 a la(s) 8 09 38 p  m

As seen, one of the graphs shouldn't be stacked, however both are. Also, there are color mismatches.

Examples on this type of practices can be found on:
https://www.mathworks.com/help/matlab/ref/bar.html#btj3klf

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

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

はじめの一歩

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

評価

この issue はまだ評価されていません。

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

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