Batch Processing Plots

Goal

  • Make a single plot of several UV/Vis data sets.

  • Process several data sets and plot each as a separate figure.

Skills

  • Define custom functions.

  • Automatically read and process a series of files from a folder using functions from Python’s built-in os module.

Data

UV/Vis Data Sets - This is a zip file, so you will need to extract the data sets to be able to work with the data.

Final Product

All files in one plot:

(Source code, png, hires.png, pdf)

../_images/batch01.png

Each file plotted individually:

Download the following file and run from the directory containing the UV/Vis data files.

Publication Quality

Not complete…