Plotting FTIR Data

Goal

Make a simple plot of an FTIR data set.

Skills

  • Introduction to Numpy – Python’s numerical array package

  • Introduction to Matplotlib – A very nice 2D/3D plotting package

  • Reading data from a file using Numpy’s loadtxt fuction.

  • Creating an interactive line plot with Matplotlib’s plot function.

  • Setting and reversing the limits of the x and y axis.

Data

FTIR Data Set

Final Product

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

../_images/ftir-1.png

Publication Quality

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

../_images/ftir_final.png