Skip to content

cajohare/HowToMakeAPlot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to make a plot

This is a repository containing code that I wrote for a lecture given at the 2023 Annual Meeting of the Centre of Excellence for Dark Matter Particle Physics on the subject of how best to make effective figures for papers and talks in physics.

The repository focuses around specific examples of how to improve plots using Matplotlib. Click on any of the examples below to go to a jupyter notebook, or browse some in the /code folder. Most of the examples are made up, however they are inspired by the types of plots that people make in particle physics.

The slides to accompany this lecture can be found here in both pdf and keynote formats. Reading them is probably important to get the context behind why I made this repository. In the talk I went through some motivation behind making good plots, gave some general design advice and highlighted some common pitfalls, before going through a few specific tips for making good-looking figures using Matplotlib.

Please contact me at ciaran.ohare@sydney.edu.au if you have any questions, or spot any errors.

Requirements


Notebooks


Style sheets

Image gallery


 

 

 

 

 

 

 

 

 

 

 

 

 

 

About

Matplotlib tutorials

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published