Skip to content
Prev 259033 / 398502 Next

Insert values to histogram

Are you really sure that you want to do that?

Read the discussion starting with this post: http://tolstoy.newcastle.edu.au/R/e2/help/07/08/22858.html for reasons why you probably don't (yes, the question is about bar plots not histograms, but much of it will still apply).  Near the end of the discussion there are examples of alternatives and some ways to add that may apply to your question if you still feel the need.

Part of the answer depends on how you are creating your histogram in the first place, 3 different functions pop to my mind that create histograms (and I am sure there are plenty more if I looked), how to add numbers in each case would be very different, so any help we offered (beyond generalities mentioned above) could be more misleading than helpful without that information.