Histogram with Y-axis in log-scale

Hi all,

I want to plot histogram with Y-axis in log-scale. So, I do the following:

using Plots

histogram(r_pos*L/n, normed=:pdf, bins=0.0:0.012:0.8, yaxis=:log10, ylim=(1e-3,10))

How to make the bins filling from the 1e-3 level, and not 1e-1 as it is now?

fillto = 1e-3

1 Like