Bar chart with dual x-axis labels (groups)
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ryan Hinrichsen
am 3 Okt. 2019
Bearbeitet: Priyanshu Mishra
am 11 Okt. 2019
I use Excel to make bar charts with dual x-axis categories (see attached picture). I would like to automate the charting process in Matlab, but I cannot find a way to add grouped x-axis labels as shown. I have no problem getting the bars to plot, but I'm out of ideas on the XLabels.
Note that I hid the individual bar x-axis labels because it cluttered the chart, so those have all been removed. I'm more interested in comparing groups than individual bars, but being able to see the individual bars is important (a histogram or simpler bar chart summary won't accomplish what I am looking for).
![Bar chart.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/240991/Bar%20chart.jpeg)
0 Kommentare
Akzeptierte Antwort
Priyanshu Mishra
am 11 Okt. 2019
Bearbeitet: Priyanshu Mishra
am 11 Okt. 2019
Hi Ryan,
I have heard that this issue is known and currently this feature is not supported. The concerned parties may be investigating further.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Bar Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!