I looked and could not find the answer to this question, so here it goes.
I have some data (a 1 X 1000 vector called data) that I would like to plot for a histogram. If I use the histogram(data)
command, then I get a pretty good histogram graph where the x axis is evenly divided into ten buckets (average values โโof ten equal intervals between the maximum and minimum data values) and the y-axis records how many times happened for each bucket .
What I really want is the same plot, only with the y axis representing the intervals of the bucket and the x axis representing the counter for each bucket ...
This way, I can insert it in the subtitle next to some other information, and everything will be easier to understand (and look super cool). What is an easy way to do this? Thanks!
Jimmy source share