[R] postscript: font size in text(x,y,label)?

Dirk Eddelbuettel edd at debian.org
Wed Nov 12 17:51:56 CET 2003


On Wed, Nov 12, 2003 at 11:05:05AM -0500, ivo welch wrote:
> 
> I would like to just create my (point) labels [created by 
> text(x,y,labels)] in smaller font size, especially when I write out to 
> eps.  all other point sizes should not change.  is this possible?  help 
> appreciated.  regards, /iaw

You didn't read  help(text),  did you?  Anyway, works as advertised:

plot(1:10)
text(2,2,"small",cex=0.5)
text(4,4,"big",cex=1.5)

Hth, Dirk

-- 
Those are my principles, and if you don't like them... well, I have others.
                                                -- Groucho Marx




More information about the R-help mailing list