Jan Näs
2012-Jul-31 14:21 UTC
[R] par(mfrow) or split.screen with climatol roseavent plot?
Hi I trying to add a wind rose as a plot together with other plots. Im unsing the roseavent function from the climatol package. Ive tried par(mfrow=c(2,2)) but when plotting the windrose: rosavent(windfreq_rose,4,3,ang=-3*pi/16,main="Windrose") it skips one position, and when plotting the next one it blanks everything else. Ive also tried split.screen, but the roseavent only blanks everything else as it is plotted. Does anyone have an idea how I can add my windrose without haveing to cut and paste it in gimp afterwards? Kind regards Jan
David Winsemius
2012-Jul-31 19:34 UTC
[R] par(mfrow) or split.screen with climatol roseavent plot?
On Jul 31, 2012, at 7:21 AM, Jan N?s wrote:> Hi > I trying to add a wind rose as a plot together with other plots. > Im unsing the roseavent function from the climatol package. > > Ive tried par(mfrow=c(2,2)) > but when plotting the windrose: > rosavent(windfreq_rose,4,3,ang=-3*pi/16,main="Windrose") it skips one > position, and when plotting the next one it blanks everything else.Many specialized plotting routines will override the par settings. Notice that in the rosavent code you find: par(mar = margen, new = FALSE) You may need to do a bit of code hacking to get your desired 2 x 2 arrangement.> Ive also tried split.screen, but the roseavent only blanks everything > else as it is plotted. > > Does anyone have an idea how I can add my windrose without haveing to > cut and paste it in gimp afterwards? > > Kind regards > Jan-- David Winsemius, MD Alameda, CA, USA