Rev 16837 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
R : Copyright 2001, The R Development Core TeamVersion 1.4.0 Under development (unstable) (2001-11-22)R is free software and comes with ABSOLUTELY NO WARRANTY.You are welcome to redistribute it under certain conditions.Type `license()' or `licence()' for distribution details.R is a collaborative project with many contributors.Type `contributors()' for more information.Type `demo()' for some demos, `help()' for on-line help, or`help.start()' for a HTML browser interface to help.Type `q()' to quit R.> ## tests of the fonts in the postscript() device.>> testit <- function(family)+ {+ postscript("ps-tests.ps", height=7, width=7, family=family)+ plot(1:10, type="n")+ text(5, 9, "Some text")+ text(5, 8 , expression(italic("italic")))+ text(5, 7 , expression(bold("bold")))+ text(5, 6 , expression(bolditalic("bold & italic")))+ text(8, 3, expression(paste(frac(1, sigma*sqrt(2*pi)), " ",+ plain(e)^{frac(-(x-mu)^2, 2*sigma^2)})))+ dev.off()+ }>> testit("Helvetica")null device1> testit("AvantGarde")null device1> testit("Bookman")null device1> testit("Courier")null device1> testit("Helvetica-Narrow")null device1> testit("NewCenturySchoolbook")null device1> testit("Palatino")null device1> testit("Times")null device1>> testit("URWGothic")null device1> testit("URWBookman")null device1> testit("NimbusMon")null device1> testit("NimbusSan")null device1> testit("NimbusSanCond")null device1> testit("CenturySch")null device1> testit("URWPalladio")null device1> testit("NimbusRom")null device1> testit("URWHelvetica")null device1> testit("URWTimes")null device1>> testit("ComputerModern")null device1>> unlink("ps-tests.ps")>