Skip to content

Latest commit

 

History

History
48 lines (40 loc) · 1.51 KB

File metadata and controls

48 lines (40 loc) · 1.51 KB

Python Examples

This directory contains runnable Python examples for the Python-first adaptation of the original MATLAB plotting utilities.

Files

  • example_line.py
    • Multi-series line plot in the same spirit as template.m and plot_linegraph*.m.
  • example_cdf.py
    • CDF plot similar to the MATLAB plot_cdf*.m workflow.
  • example_bars.py
    • Horizontal stacked bar plot inspired by plot_horizontal_bars.m.
  • example_boxplot.py
    • Boxplot example corresponding to the MATLAB plot_boxplot*.m scripts.
  • example_grouped_bar.py
    • Grouped categorical bar plot corresponding to MATLAB bar plot workflows.
  • example_pdf.py
    • Publication-style PDF / histogram example corresponding to plot_pdf.m.
  • example_pr_curve.py
    • Precision-recall curve example corresponding to plot_pr_curve.m.
  • example_stacked_time.py
    • Stacked time-budget plot corresponding to plot_time_stacked.m.
  • example_tilelayout.py
    • 2x2 tiled metric summary corresponding to plot_tilelayout.m.
  • example_trajectory.py
    • 2D trajectory plot corresponding to the repository trajectory visualizations.
  • example_correspondence.py
    • Weighted source-target scatter plot inspired by plot_scatter_w_heatmap.m.
  • generate_examples.py
    • Convenience script that runs all Python examples and writes outputs to examples_output/.

Run all examples

python -m pip install -r requirements.txt
python examples/generate_examples.py

Output

Generated figures are written to:

examples_output/