[R] axis thickness in plot()
Greg.Snow at imail.org
Wed Dec 7 21:43:30 CET 2011
Often when someone wants lines (axes) in R plots to be thicker or thinner it is because they are producing the plots at the wrong size, then changing the size of the plot in some other program (like MSword) and the lines do not look as nice. If this is your case, then the better approach is to produce the original graph at the appropriate size, then you don't need to worry about the effects of resizing.
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
greg.snow at imail.org
> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of AlexC
> Sent: Tuesday, December 06, 2011 9:35 AM
> To: r-help at r-project.org
> Subject: [R] axis thickness in plot()
> I am trying to increase the thickness of the axis in plot() without
> reverting to the use of paint programs
> i see posts on that topic for the xyplot function but want to see if i
> do it with plot() because i've already setup my graph script using that
> i thought i could use axis() function and specify lwd="thickness" or
> lwd.axis= but that does not work like it does for lwd.ticks
> If anyone has an idea, sincerely
> heres the script
> plot(data$Winter,data$NbFirstBroods,ylab="number of breeding
> i tried axis(1, lwd.axis = 3,lwd.ticks=3) for example
> also when adding the y axis axis(2...) x and y axes are disconnected
> Thank you for your kind help in advance,
> View this message in context: http://r.789695.n4.nabble.com/axis-
> Sent from the R help mailing list archive at Nabble.com.
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help