adds logarithmic scale on y-axis for plots