[R] axis thickness in plot()

AlexC alexandre.chausson at unil.ch
Tue Dec 6 17:35:26 CET 2011


Hello, 

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 can
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

windows(width=7,height=7)
plot(data$Winter,data$NbFirstBroods,ylab="number of breeding
pairs",xlab="winter
harshness",cex=1.5,cex.lab=1.5,cex.axis=1.5,font.axis=2,axes=FALSE)
points(data$Winter,data$NbFirstBroods,cex=1.5,col="black",pch=19)
abline(lm(data$NbFirstBroods~data$Winter),col="red",lwd=4)

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, 

Alexandre 

--
View this message in context: http://r.789695.n4.nabble.com/axis-thickness-in-plot-tp4165430p4165430.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list