[R] Problem with cex=0.1 when making jpegs

2009-01-21 Thread davidfarr
I am using the following script to make .jpg files. jpeg('plotx.jpg') ddat -read.table(file,header=T) attach(ddat) tdat-read.table(file1) plot(xx1,yy1,type='p',pch=1,col=blue,cex=0.2,xlim=c(0,3.5),ylim=c(-75,75)) points(tdat,col=green,pch=1,cex=0.2) dev.off() The problem is that I want the

Re: [R] Problem with cex=0.1 when making jpegs

2009-01-21 Thread David Winsemius
Looking at ?points I see information that appears directed at this question: Value pch=. (equivalently pch = 46) is handled specially. It is a rectangle of side 0.01 inch (scaled by cex). In addition, if cex = 1 (the default), each side is at least one pixel (1/72 inch on the pdf,