Added option to plot y axis logarithmically