Issues when plotting stacked and non-stacked bar graphs on same figure
@harshpurwar arbeitet bereits daran.
Seit 29.7.2021.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
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:


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
- Vorherrschende Sprache
- MATLAB
- Sterne
- 413
- Forks
- 166
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus plotly/plotly_matlab
-
Use valid Plotly.js CDN Offen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 55/100
plotly/plotly_matlab#526 ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 45/100
plotly/plotly_matlab#523 · 1 Kommentar ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
plotly/plotly_matlab#481 · 1 Kommentar ·
-
getplotlyfig() Error Offen
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 35/100
plotly/plotly_matlab#480 ·
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 35/100
plotly/plotly_matlab#479 · 1 Kommentar · 3 Reaktionen ·
Alle Issues in plotly/plotly_matlab
Ähnliche Issues
-
Component: Continuous Integration Component: MATLAB Type: enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 94/100
VH-Lab/NDIcalc-vis-matlab#107 ·
-
bug unconfirmed
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
gnu-octave/statistics#498 · 1 Kommentar ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100