Re: [R] in other words Re: How to use fixed-width fonts such as courier in R

2005-05-24 Thread Xiang Li
Great. Thanks a lot. That is exactly what I need. Xiang On Wed, 25 May 2005, Paul Murrell wrote: > Hi > > Does this do what you want? > > postscript("example.ps", fonts=c("sans", "mono")) > plot(1:10, axes=FALSE, ann=FALSE) > par(family="sans") # By default Helvetica which is like Arial > title(

Re: [R] in other words Re: How to use fixed-width fonts such as courier in R

2005-05-24 Thread Paul Murrell
Hi Does this do what you want? postscript("example.ps", fonts=c("sans", "mono")) plot(1:10, axes=FALSE, ann=FALSE) par(family="sans") # By default Helvetica which is like Arial title(xlab="sans serif axis label") title(ylab="bold sans serif axis label", font.lab=2) par(family="mono") # By defaul

[R] in other words Re: How to use fixed-width fonts such as courier in R

2005-05-24 Thread Xiang Li
the problem is how to use both courier bold font for axis and arial bold font for labelling. If I use familiy = "courier" in postscript, everything will become courier fonts .. I noticed that in postscirpt help page, we can customize a family such as "family = c("CM_regular_10.afm","CM_boldx_