Displaying 1 result from an estimated 1 matches for "brendengraph".
2010 Jun 13
1
losing line of mtext when saving to png format
...================================#
mydata <- data.frame(kel = c(13,253,263,273,283,292,303,313,323,333,573,853),
cent= c( -280, -40, -30, -20, -10, 1, 10, 20, 30, 40, 280, 560))
(intervals <- diff(mydata[,1]))
opar <- par(mar= (c(5, 4, 6, 2)))
# png("C:/Rjunk/brendengraph.png", width=600, height=500)
plot(1:12,mydata$kel, main=" ", xlab=" ",
ylab=" ",type="l", col="red", xaxt="n", yaxt="n",cex=.75)
axis(1, at=1:12,labels=as.character(mydata$kel), cex.axis=.75)
axis(3, at=1:12...