Single Pixel Camera

Never use the interactive plotting in a plotting script.  Always write directly to pdf/png.