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
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? helpI 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
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, /iawYou 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