Script to plog PT vs. temp curve