[R] par(mfrow) or split.screen with climatol roseavent plot?
David Winsemius
dwinsemius at comcast.net
Tue Jul 31 21:34:44 CEST 2012
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
More information about the R-help
mailing list