Displaying 1 result from an estimated 1 matches for "withoutreplay".
2013 Sep 13
1
inconsistency/bug in recordPlot/replayPlot
...east for me on linux) example:
png("noreplay.png")
plot(1:10)
dev.off()
plot(1:10)
recplot = recordPlot()
png("withreplay.png")
replayPlot(recplot)
dev.off()
The resulting png files are attached. You'll notice that the noreplay.png
has the expected white background, while withoutreplay.png has no/a
transparent background.
This seems likely to be related to the note in ?dev.print :
"
Note that these functions copy the _device region_ and not a plot:
the background colour of the device surface is part of what is
copied. Most screen devices default to a transparent...