[R] Manipulating the sizes of multiple screens
Mark Wardle
mark at wardle.org
Wed May 23 13:45:10 CEST 2007
Judith Flores wrote:
> Hi,
>
>
> I used split.screen command to creaye 5 screens,
> 4 screens contain a plot each, the fifth screen is
> designated to a legend. I am having difficulties
> setting the dimensions of the screens in a way that
> would allow me to have the screen dedicated to the
> legend smaller. I end up with a very awkward aspect at
> the end: 4 small plots with a big space for the
> legend. The gend needs to be at the top of the 4
> graphs, it's common legend for the 4 graphs. I have
> tried manipulating the margins of each individual
> screen, but couldn't obtain the desired aspect.
>
> Thank you very much in advance for you help.
>
> Best Regards,
>
> J
Have a look at ?layout instead. Much easier!
Best wishes,
Mark
More information about the R-help
mailing list