I'd suggest using lines() rather than points() to add lines to a plot.
The parameter to change line width is lwd rather than cex.

e.g.
lines(x, Sobs$Chao_1_Mean, col="Gray", lwd=2)

Reading ?par can be both an enlightening and confusing experience.

Sarah

On Mon, Jul 9, 2012 at 1:11 PM, peziza <jenkere...@gmail.com> wrote:
> I am trying to make the lines thicker in a graph (for a ppt presentation).
>
> Here is what I currently have:
>
> plot(x,y,type="l", ylab="Number of OTUs", xlab="Number of Samples
> Collected", col="Black", pch=1, ylim=c(0,6000))
>
> points(x, Sobs$Chao_1_Mean, type="l", col="Gray", pch=1) (this is one of the
> added lines in the graph).
>
> I believe cex can help increase the size of the points. But I haven't been
> able to get it to work.
>
>

-- 
Sarah Goslee
http://www.functionaldiversity.org

______________________________________________
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.

Reply via email to