When a density starts or ends at a non-zero value, a vertical line is drawn to the x-axis. There's also always a horizontal line at y = 0 across the range of x axis values. All examples I have seen have this characteristic. How can I only plot the curve of the density ?
--
--
You received this message because you are subscribed to the ggplot2 mailing list.
Please provide a reproducible example: https://github.com/hadley/devtools/wiki/Reproducibility
To post: email ggp...@googlegroups.com
To unsubscribe: email ggplot2+u...@googlegroups.com
More options: http://groups.google.com/group/ggplot2
---
You received this message because you are subscribed to the Google Groups "ggplot2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ggplot2+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi All,
I have a problem when I use the following code.
I wanted to compare 4 rootstocks and all the line connected, cannot find starting point and ending point.

qplot(Length,data=Density,geom="density",colour=Tube, lwd=0.2,type="o",
key=list(x=0.1, y=0.9, corner=c(0.5,0.5)),rep=FALSE,
text=list(levels(Density$ube)),
xlab="Root length (mm)",
ylab="Frequency")
Cheers,
Mahmut.
| ALBURY-WODONGA | BATHURST | CANBERRA | DUBBO | GOULBURN | MELBOURNE | ONTARIO | ORANGE | PORT MACQUARIE | SYDNEY | WAGGA WAGGA |
Charles Sturt University in
Australia The Grange Chancellery, Panorama Avenue, Bathurst NSW Australia
2795 (ABN: 83 878 708 551; CRICOS Provider Number: 00005F (National)). TEQSA
Provider Number: PV12018
Charles Sturt University in Ontario 860
Harrington Court, Burlington Ontario Canada L7N 3N4 Registration: www.peqab.ca