[R] Complex plotting in R

Deepayan Sarkar deepayan.sarkar at gmail.com
Wed Jul 13 00:11:00 CEST 2005


On 7/12/05, koen.hufkens at pandora.be <koen.hufkens at telenet.be> wrote:
> Hi list,
> 
> I'm looking for a function or a combination of functions to do panel plotting of mixed graph types with the same x axis.
> 
> I would like to construct a panel with 3 stacked windows with on top a histogram, below that 2 cdf plots. They all have the same x axis value but different y axis values. Is it possible to construct something like that?
> 
> I've looked into the lattice package but it doesn't seem to solve my problem because I clearly want 1 x axis for all the graphs so not just a panel with 3 full graphs.
> 

Multiple graph types in lattice would need a lot of hacking. If you
are feeling adventurous, you might want to try using grid graphics
(the 'grid' package) directly.

Deepayan




More information about the R-help mailing list