Source: bar_chart_demo.f90
Demonstrates grouped vertical and horizontal bar charts using both the stateful
(pyplot-style) and object-oriented (figure_t) fortplot APIs.
bar_chart_demo.f90 - Source demonstrating grouped and horizontal barsGenerated outputs in output/example/fortran/bar_chart_demo/
Grouped bars: Compare multiple series per category
bar_impl with an explicit figure_t instance to avoid globalsRunning the demo generates:
- stateful_grouped.(png|pdf|txt) - Vertical grouped comparison
- stateful_horizontal.(png|pdf|txt) - Horizontal completion chart
- oo_grouped.(png|pdf|txt) - Object API grouped budget comparison
Perfect for showcasing categorical comparisons and verifying bar chart support in fortplot.
bar_chart_demo.f90 - Source codeoutput/example/fortran/bar_chart_demo/make example ARGS="bar_chart_demo"

ASCII output:
(Content embedded here)

ASCII output:
(Content embedded here)

ASCII output:
(Content embedded here)