I've sent this to Mathsoft, but will ask here also.
I'm using S-Plus 2000 R2 on Windows 95.
The following code is from the help page for "pdf.graph". I was able to
view the plot with Acrobat Reader 3.01, but when I use Acrobat Reader 4.05c,
all I see is a plot with axes and no points.
Short of staying with Acrobat Reader 3.01, is there any way to fix this
problem?
pdf.graph(file="test.pdf", color=T)
plot(state.x77[,"Frost"], state.x77[,"Murder"], type="n")
reg <- factor(state.region)
for(i in seq(along=levels(reg))) {
w <- reg == levels(reg)[i]
points(state.x77[w,"Frost"], state.x77[w,"Murder"], pch=i, col=i)
}
dev.off()
Kevin Wright, Research Scientist
Pioneer Hi-Bred Int'l, x4054.
|