I am using a histogram, and I want to save a table underlying the graph.

for instance:

sysuse auto
hist weight
I want to then have the table behind this chart. The reason is that I want to graph the portion only of this histogram (say for bins above 3,000) on a separate graph that combines other components as well.

hist weight if weight>3000
does not do what I want, because that produces density for values over 3,000. I want to have density for all values, but then plot only a truncated density. How can this be done? If I had the table from the original histogram, I could then graph subset from that.