Hi, I am fairly new to GNU R ! At the moment I am doing an intensive learning on the basics of GNU R-1.91, especially graphics like plots and alike, by reading the introductory docs! Well, except some occasional glitches (X11 output errors) everything seems to be fine, thanks to developers for this fine program! But there is a slight problem with the size of fonts in graphics, i.e. its very hard form me to read labels of variables in plots or other graphical representations! (yes, I am little short sighted) How may I mainpulate/enlarge the fonts size in graphics from within GNU R ? Thanks for your time Thomas System: GNU/Linux (Debian Sid) GNU R: 1.91
Hi Thomas! Try ?par at the R prompt, there you will get all the necessary information to change the appearance of graphics. Daniel -- Daniel Hoppe Department of Marketing University of Vienna Bruenner Strasse 72 1210 Vienna Austria> -----Original Message----- > From: r-help-bounces at stat.math.ethz.ch > [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Thomas > Sch??nhoff > Sent: Tuesday, September 14, 2004 10:47 AM > To: R User-Liste > Subject: [R] Howto enlarge fonts size in R- Graphics? > > > Hi, > > I am fairly new to GNU R ! > At the moment I am doing an intensive learning on the basics of GNU > R-1.91, especially graphics like plots and alike, by reading the > introductory docs! > Well, except some occasional glitches (X11 output errors) everything > seems to be fine, thanks to developers for this fine program! > But there is a slight problem with the size of fonts in > graphics, i.e. > its very hard form me to read labels of variables in plots or other > graphical representations! (yes, I am little short sighted) > How may I mainpulate/enlarge the fonts size in graphics from > within GNU R ? > > Thanks for your time > > Thomas > > > > System: GNU/Linux (Debian Sid) > GNU R: 1.91 > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read > the posting guide! http://www.R-project.org/posting-guide.html >
Thomas Sch??nhoff wrote:> Hi, > > I am fairly new to GNU R ! > At the moment I am doing an intensive learning on the basics of GNU > R-1.91, especially graphics like plots and alike, by reading the > introductory docs! > Well, except some occasional glitches (X11 output errors) everything > seems to be fine, thanks to developers for this fine program! > But there is a slight problem with the size of fonts in graphics, i.e. > its very hard form me to read labels of variables in plots or other > graphical representations! (yes, I am little short sighted) > How may I mainpulate/enlarge the fonts size in graphics from within GNU R ?See ?plot, ?plot.default and ?par, in particular look out for all arguments containing the letters "cex" .... Uwe Ligges BTW: It is called R-1.9.1> Thanks for your time > > Thomas > > > > System: GNU/Linux (Debian Sid) > GNU R: 1.91 > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html
The X11 device has an argument `pointsize' (which may well mean pixel size in a particular implementation of X11, as my laptop for example has width, height and pointsize all much smaller than specified): just increase it. The advice to look at ?par is incorrect if you want to scale everything, as I think you do. If you want auto-launched windows to have a larger font, you need to write a wrapper to X11 and set options(device=wrapper_name). On Tue, 14 Sep 2004, [ISO-8859-15] Thomas Sch??nhoff wrote:> I am fairly new to GNU R ! > At the moment I am doing an intensive learning on the basics of GNU > R-1.91, especially graphics like plots and alike, by reading the > introductory docs! > Well, except some occasional glitches (X11 output errors) everything > seems to be fine, thanks to developers for this fine program! > But there is a slight problem with the size of fonts in graphics, i.e. > its very hard form me to read labels of variables in plots or other > graphical representations! (yes, I am little short sighted) > How may I mainpulate/enlarge the fonts size in graphics from within GNU R ?-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595