Issues when plotting stacked and non-stacked bar graphs on same figure
Đang mở
@harshpurwar đang làm issue này rồi.
Từ ngày 29/7/2021.
- Ngôn ngữ chính
- MATLAB
- Star
- 413
- Fork
- 166
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Đánh giá
Issue này chưa được đánh giá.