Tiny modifications to simpleplot.R