[R] plot layout with several plots ON plot area of previous plot

Rainer M Krug r.m.krug at gmail.com
Thu Apr 7 11:27:18 CEST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

I would like to have a plot layout, on which line graphs are on the plot
area of an underlying bar graph.
How can I achieve this? I know about layout() and par() to create a
layout, but as far as I know, they assign non-overlapping plot areas.

Effectively, it should look as below:

|------------------------|
|                        |
|      |---|  |---|      |
|      |   |  |   |      |
|      |   |  |   |      |
|      |-L-|  |-L-|      |
|                        |
|                        |
|                        |
|                        |
|                        |
|                        |
|-the bargraph-----------|

L: the line graphs

Any help appreciated,

Rainer



- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:        +33 - (0)9 53 10 27 44
Cell:       +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:      Rainer at krugs.de

Skype:      RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2dg3UACgkQoYgNqgF2egpegwCfbqQP19qZqyof21+rA9Cbn+Vf
UKcAnAgl6AoUNcygx/sSaMcYV+zoum/S
=9/P0
-----END PGP SIGNATURE-----



More information about the R-help mailing list