This question already has an answer here:
- Exporting SmoothHistogram plot data 1 answer
I have some data.I plot the histogram with
SmoothHistogram in Mathematica. If the y-axis of the histogram is my p(x) function, I want to plot f(x)=(1/n)ln(p(x)) with Mathematica. I don't know how?!
data = Import["Desktop/kmc final result.txt", "List"]; d = SmoothHistogram[data, Automatic, "PDF"]; time = 200; f[x_] := -1/time Log[d, x]