Initial implementation
Plot directly to file

Update plot3 to go directly to file to avoid screen-to-file distortion.