Issues when plotting stacked and non-stacked bar graphs on same figure
Abierto
@harshpurwar ya está trabajando en esto.
Desde el 29/7/2021.
- Lenguaje dominante
- MATLAB
- Estrellas
- 413
- Forks
- 166
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Evaluación
Este issue todavía no se ha evaluado.