On 26.02.2010 05:22, Yi Du wrote:
Hi there, I use plot(type="o") to draw the line. And I need put some legend to this line. But how can I let the legend to display the line type in the graph generated from type="o"? I can only find the lty in the legend. But I tried several times and still failed.
Use both pch=1, lty=1 as arguments.
Also, if I use abline(h=0.08) to draw a horizontal line and I also want to show 0.08 in the y-axis, how can I do it?
See ?mtext Uwe Ligges
Many thanks, Yi
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.