[R-sig-Geo] Plot various bubble plot in the same plot window

Edzer Pebesma edzer.pebesma at uni-muenster.de
Tue Feb 15 18:03:24 CET 2011



On 02/15/2011 05:28 PM, Jaime Burbano Girón wrote:
> Hi everybody. I want to plot various bubble plot in the same plot window,
> I´ve tried with functions "par(mfrow)" and "set.panel()", but I haven´t got
> it. Does someone know how to do this? Thanks in advance.

If you want to arrange multiple bubble plots on a single plot device
(window, pdf file etc), you can look at

library(lattice)
?print.trellis

# and try

print(bubble(...), split = ... , more = TRUE)

look for an example in

library(gstat)
demo(krige)

If, however, you want to have a multi-panel plot with a bubble plot in
each panel (which will look much nicer), this will be harder. I would
use xyplot (in package lattice) directly, with all the tricks you see
when printing function bubble (which uses xyplot) will get you there.

With best regards,
--
Edzer

> 
> 
> 
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo

-- 
Edzer Pebesma
Institute for Geoinformatics (ifgi), University of Münster
Weseler Straße 253, 48151 Münster, Germany. Phone: +49 251
8333081, Fax: +49 251 8339763  http://ifgi.uni-muenster.de
http://www.52north.org/geostatistics      e.pebesma at wwu.de



More information about the R-sig-Geo mailing list