Suppose I want my figure label to read '
. I can get partway there as follows:
plot(x,y,xlab=NCEP,ylab=the other axis)
The font=13 specifies Greek letters. If you don't know which characters correspond to which greek letters, you can play around some; s is an obviously-inspired guess for . The problem here is that this will pile NCEP, and 0.995 on top of each other. So, next go into the postscript file, search for the characters of interest, and move things around as necessary. (You might also be able to do the moving around within R/S by using the locator() function.) If it will be too hard to find something as common as 's', you could replace it with something unusual in the R/S code and then change it back in the postscript. Here's an example of the altered postscript code with the original lines commented out with '%'.
%(s) 61 2739 0.5 T
(s) 61 2784 0.5 T
%(0.995) 71 2739 0.5 T
(0.995) 81 2854 0.5 T
The lines that are commented out with the '%' are what I replaced in order to move the and 0.995 to where I wanted them, based on trial and error. The two numbers I changed in each line are the x and y coordinates of the stuff in parentheses. Note that had I not included the 'font' and 'cex' arguments in the S/R code, I could have just as easily accomplished the same thing in the ps file by inserting the '13 Sf' line to change the font to 13 and then the '1 Sf' line to change the font back, and similarly with the '0.8 Sx' and '1 Sx' lines.
Keywords: R, Greek, letters, figures, graphics
Last modified 6/23/07.