[R] xyplot text sizing

Greg Snow Greg.Snow at imail.org
Mon Feb 14 18:10:27 CET 2011


Modifying the 4th example on the help page for tkexamp (TeachingDemos package) may help with exploring the effects of the different parameters and deciding on a set to use.

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org
801.408.8111


> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Jannis
> Sent: Monday, February 14, 2011 4:48 AM
> To: Nick Torenvliet
> Cc: R-Help
> Subject: Re: [R] xyplot text sizing
> 
> Trellis graphs can be a pain regarding their parameters ;-)....
> 
> Try to run trellis.par.get() after you produced the plots and try to
> figure out (by playing around with them) which parameter corresponds to
> your text size (I would guess some of the par.sub.text or par.main.text
> parameters). Use trellis.par.set() to set the according value.
> 
> Good luck with trial and error!
> 
> HTH
> Jannis
> 
> On 02/13/2011 08:59 PM, Nick Torenvliet wrote:
> > Hi all,
> >
> > I'm using
> >
> > xyplot(closingDataXTS)
> >
> > To get a page with any number of seperate plots on it (as many plots
> as
> > columns in closingDataXTS).
> >
> > Each plot is named according to colnames(closingDataXTS).
> >
> > I would like to control the size of the text each plot name appears
> in.
> >
> > I've seen a number of solutions for similar problems that point me in
> the
> > direction of trellis.par.get and trellis.par.set but have been unable
> to put
> > anything together that works.
> >
> > Any ideas for me?
> >
> > Nick
> >
> > 	[[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help at r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide http://www.R-project.org/posting-
> guide.html
> > and provide commented, minimal, self-contained, reproducible code.
> >
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-
> guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list