Back to course overview
Scientific Python
Plotting Scientific Data
Publication-quality matplotlib plots with error bars and units, log and semilog axes to linearise power laws and exponentials, and heatmaps and contours of 2D data.
3 lessons · 3h 8m
- 1h 10mPublication-quality plotsReading
Turn replicate measurements into means and standard errors and plot them with matplotlib, error bars, labelled axes and units.
- 44mLog scales and fitsReading
Use log-log and semilog axes to turn power laws and exponentials into straight lines, then read the exponent or rate from a linear fit.
- 1h 14mImages and 2D dataReading
Build 2D grids with meshgrid, find peaks and thresholds in 2D arrays, and show them as heatmaps and contour plots.