Plotting script which reads from stdin.