Consider the following plot:
CDFforPoisson[u_] = x /. Solve[Exp[-x/0.01] == u, x][[1]]; DistrData = CDFforPoisson@RandomReal[{0, 1}, 10^6]; Histogram[{DistrData}, 100, "ProbabilityDensity", Frame -> True, ChartStyle -> {Opacity[.25, Red], Opacity[.25, Blue], Opacity[.25, Darker@Green]}, FrameStyle -> Directive[Black, 18], ScalingFunctions -> {"Log", "Log"}, ImageSize -> Large, PlotRange -> {{0.0001, 0.03}, All}, FrameLabel -> {"\!\(\*SubscriptBox[\(l\), \(\(displ\)\(.\)\)]\) \ [mm]", "Fraction"}, PlotLabel -> Style[Row[{"\!\(\*SubscriptBox[\(l\), \(decay\)]\) = 0.01 mm"}], 18, Black], ChartLegends -> Placed[{"Before IP"}, {0.2, 0.9}]] It has two problems: small font of legends, and a bin going out of the plot frame (on the right). Could you please tell me how to adjust the font of the legend, and how to avoid the frame problem?



Placed[{Style["Before IP", 16]}, ...]where16is the font size. $\endgroup$CDFforPoissonrelated to a Poisson distribution? The only thing I can come up with is thatCDFforPoisson[u]gives one-hundredth of the mean of a Poisson distribution whose probability of obtaining zero isu. Also,Solveis not necessary as the result is- Log[u]/100. $\endgroup$