[R] Histograms without bars

2008-05-19 Thread Andre Nathan
Hello I'd like to plot a histogram of some data composed of real numbers. The bin width I'm using is ~ 0.01, which results in high values in the y axis, so that the area under each bar corresponds to the probability of the data in that range. Is is possible to plot points whose y coordinate

Re: [R] Histograms without bars

2008-05-19 Thread Charilaos Skiadas
Hi Andre, On May 19, 2008, at 4:28 PM, Andre Nathan wrote: Hello I'd like to plot a histogram of some data composed of real numbers. The bin width I'm using is ~ 0.01, which results in high values in the y axis, so that the area under each bar corresponds to the probability of the data

Re: [R] Histograms without bars

2008-05-19 Thread hadley wickham
Is is possible to plot points whose y coordinate correspond to that probability, instead of plotting the histogram bars? In other words, instead of having a bar of width 0.01 and height, say, 80, I'd like to have a single point at y = 0.8. Very easily with ggplot2: install.packages(ggplot2)