Displaying 1 result from an estimated 1 matches for "heartpercent".
2010 Dec 01
2
How to draw a rect() behind a hist() ?
Hi,
I have the following code:
hist(gps$heartpercent, breaks=5)
rect(90, par("usr")[3], 100, par("usr")[4], col = "red")
How do I get the rectangle to appear behind the histogram. Barring that,
how can I make certain bars of the histogram to be a certain color?
Thanks,
Jason