Boxplot Demo

Boxplot Demo

Source: boxplot_demo.f90

Demonstrates box-and-whisker plots for statistical data visualization.

  • boxplot_demo.f90 - Source code
  • boxplot.png/pdf/txt - Example outputs

  • Box-and-whisker plots: Statistical summary visualization

  • Multiple datasets: Comparing distributions
  • Outlier detection: Identifying data points outside normal range
  • Custom styling: Colors and formatting options

The demo creates boxplots showing data distribution, quartiles, and outliers.

Files

  • boxplot_demo.f90 - Source code
  • Generated media in output/example/fortran/boxplot_demo/

Running

make example ARGS="boxplot_demo"

Output

Boxplot Demo

boxplot_demo.png

ASCII output:

                            Single Box Plot Example
+--------------------------------------------------------------------------------+
|                                                                                |
| 12                                                                             |
| |                                                                              |
| |                                                                  # Group A   |
| |0                                                                 # Group B   |
| |                                                                  # Group C   |
| |                                                                              |
| |                                                                              |
| |                                                                              |
| |                                                                              |
| |                                                                              |
| |                                                                              |
| |                                                                              |
| |                                                             # ##             |
| |          -- -                     # # #               #    #  # #    #       |
| |           -                 #    #  #  #    #         #              #       |
| |    -    - -  -    -         #               #         #              #       |
| |    -              -         #               #         #    #    #    #       |
| |    -              -         #    #     #    #         #              #       |
| |    -    -    -    -         #    #  #  #    #         #    #  # #    #       |
| |    -    - -  -    -                 #                       # ##             |
| |           -                       # # #                                      |
| |    -     -- -  -     -     -     -     -     -     -     -     -     -     - |
|        0.8       1.2        1.6       2.0       2.4        2.8       3.2       |
+--------------------------------------------------------------------------------+
                                  Data Groups
Values

Download ASCII

Download PDF