I want to bin sevaral arrays of data and superimpose them in a single plot.
The simplest approach is to fire several times
My problem is that I want to make a loglog plot (i.e. putting a
logscale on the X axis too, something that hist doesn't allow me to
So what I've done so far is extracting the bin coordinates from
hist(data_i, N), extract histogram values using hist(data_i, N)
and then a loglog plot them one against each other.
The point is that I have to invoke at least once the command
hist(data_i, N) in order to do so, and this draws patches on my figure
which I don't want to appear on my final plot.
How do I delete the histogram bars? In other words, how to I delete an
entire histogram from my plot?
Other suggestions to have this sort of "loglog histogram" in a few
lines of code are more than welcome, of course.