Re: [R] font=5 (Was: greek symbols using pch)

From: Earl F. Glynn <>
Date: Thu 13 Oct 2005 - 01:12:31 EST

"ecatchpole" <> wrote in message
> Earl,
> I don't think that's a bug. Try
> pdf("font5.pdf", onefile=FALSE)
> and similarly for postscript().

Mea culpa. The onefile=FALSE wasn't necessary (and caused Ghostscript not to open the postscript file).

The 2nd page was caused by an erroneous second plot statement in ShowFont5, which I put there for a one time test and then I failed to remove it. I was getting two pages because I had two plot statements. Sorry for the confusion.

All works fine with this code, which has only one plot statement, even with postscript and pdf files:

ShowFont5 <- function()
  oldpar <- par(font=5, las=1)
    main="Symbols in Font=5",
    xlab="", ylab="",xaxt="n", yaxt="n")   axis(BOTTOM<-1, at=0:15)
  axis(LEFT <-2, at=0:15, 16*0:15)
  abline(v=0.5 + 0:14,

         h=0.5 + 0:14, col="grey", lty="dotted")   for(i in 0:255)
    x <- i %%16;
    y <- i %/% 16;

efg mailing list PLEASE do read the posting guide! Received on Thu Oct 13 01:44:53 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 18:48:29 EST