[R] [r] align xyplot

Peter Ehlers ehlers at ucalgary.ca
Tue Feb 22 16:37:59 CET 2011


On 2011-02-22 05:53, Francesco Nutini wrote:
>
> Sorry, I mean "heading".
> Thanks for the tip.

I'm not quite certain what you mean by "heading",
but it sounds to me as though you might want

   xyplot( ... your stuff ...,
           par.settings = list(
                strip.background = list(col = "lightgray")))

Peter Ehlers

>
> Francesco
>
>> CC: djmuser at gmail.com; r-help at r-project.org
>> From: dwinsemius at comcast.net
>> To: uitko at hotmail.it
>> Subject: Re: [R] [r] align xyplot
>> Date: Tue, 22 Feb 2011 08:33:07 -0500
>>
>> I don't know the term "intestation", but from context it appears you
>> might need:
>>
>> ?trellis.par.set
>>
>>
>> --
>> David.
>> On Feb 22, 2011, at 7:23 AM, Francesco Nutini wrote:
>>
>>>
>>> Hi Dennis and [R]users!
>>> as I said last week, I need more info about xyplot.
>>>
>>> Is it possible to change the color of the intestation of xyplot? By
>>> default is pale-pink, but light-gray is better for a paper.
>>>
>>> Thanks,
>>>
>>> Francesco
>>>
>>> From: nutini.francesco at gmail.com
>>> To: djmuser at gmail.com
>>> CC: r-help at r-project.org
>>> Subject: RE: [R] [r] align xyplot
>>> Date: Thu, 3 Feb 2011 10:58:35 +0000
>>>
>>>
>>> Thanks Dennis,
>>> I have used the codes  as.table = TRUE and  aspect = 1 to obtain
>>> what i needed.
>>> Maybe I'll ask you more about xyplot, is very powerfull tool!
>>>
>>> Cheers,
>>> Francesco
>>>
>>> Date: Mon, 31 Jan 2011 04:33:27 -0800
>>> Subject: Re: [R] [r] align xyplot
>>> From: djmuser at gmail.com
>>> To: nutini.francesco at gmail.com
>>> CC: r-help at r-project.org
>>>
>>> Hi:
>>>
>>> Look at as.table = TRUE and (perhaps) the skip = options in
>>> xyplot(). as.table = TRUE will put 1998 in the upper left corner and
>>> proceed row-wise.
>>>
>>> Here's an example using the singer data:
>>>
>>> histogram( ~ height | voice.part, data = singer, nint = 17,
>>>
>>>            endpoints = c(59.5, 76.5), layout = c(2,4), aspect = 1,
>>>            xlab = "Height (inches)")
>>> histogram( ~ height | voice.part, data = singer, nint = 17, as.table
>>> = TRUE,
>>>            endpoints = c(59.5, 76.5), layout = c(2,4), aspect = 1,
>>>
>>>            xlab = "Height (inches)")
>>>
>>> The '2' voices are lower than the '1' voices, so the ordering is
>>> correct.
>>>
>>> HTH,
>>> Dennis
>>>
>>>
>>> On Mon, Jan 31, 2011 at 2:44 AM, Francesco Nutini<nutini.francesco at gmail.com
>>>> wrote:
>>>
>>>
>>>
>>> Dear R users,
>>>
>>> I'm using xyplot to obtain a graph about a correlation x~y for
>>> different years (a categoric variable).
>>>
>>> The program dispose automatically the graphs in this way:
>>>
>>>
>>>
>>> 2010
>>>
>>> 2007 2008 2009
>>>
>>> 2004 2005 2006
>>>
>>> 2001 2002 2003
>>>
>>> 1998 1999 2000
>>>
>>>
>>>
>>> Which code should I use to obtain this sequance of graphs?
>>>
>>>
>>>
>>> 1998 1999 2000 2001 2002 2003 2004 2005 2006  2007 2008 2009 2010
>>>
>>>
>>>
>>>
>>>
>>> I have tried with "par" code but it's doesn't work.
>>>
>>>
>>>
>>> Thanks for help,
>>>
>>>
>>>
>>> Francesco Nutini
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>         [[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.
>>>
>>>
>>> 		 	   		
>>> 	[[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.
>>
>> David Winsemius, MD
>> West Hartford, CT
>>
>   		 	   		
> 	[[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.



More information about the R-help mailing list