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

Philipp Pagel p.pagel at gsf.de
Wed Nov 12 17:39:15 CET 2003


	Hi!
	
> 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 

I don't know how to define the point size exactly (since ps=something
does not work in text()) but using the cex option is a workaround:

plot(1:100, (1:100)^2)
text(10,1000, "foo")
text(10,2000, "foo", cex=2)

cu
	Philipp

-- 
Dr. Philipp Pagel                                Tel.  +49-89-3187-3675
Institute for Bioinformatics / MIPS              Fax.  +49-89-3187-3585
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1
85764 Neuherberg, Germany




More information about the R-help mailing list