Change code for plotting data to default to plotting on a logarithmic scale.