search for: plot_save

Displaying 1 result from an estimated 1 matches for "plot_save".

2008 Apr 21
1
Use of recordPlot
...pet, why does this not work: windows(); nf1 <- layout(matrix(1), widths=lcm(6), heights=lcm(6)) par(mfrow=c(2,2)); par (mfg=c(1,1)); plot( ...some stuff...); par (mfg=c(1,2); plot(....some more stuff...) par (mfg=c(2,1); plot(....some more stuff...) par (mfg=c(2,2); plot(....some more stuff...) plot_save=recordPlot(); # now some more code, doing other stuff, maybe more plots # now try to replay the saved plot: replayPlot(plot_save) This last line gives the following error: Error in replayPlot(plot_save) : A clipboard metafile can store only one figure. The documentation says that replayPlot(...