Skip to content
Prev 299016 / 398503 Next

saving contour() plot info

On 03/07/2012 10:36 AM, Robert Douglas Kinley wrote:
Generally the way to get rid of the flashing is to use dev.hold() while 
plotting, then dev.flush() when done.  This isn't supported on all 
graphics devices.
It is possible to save the contour information.  See ?contourLines. This 
doesn't save everything (e.g. the labelling), but it might be enough for 
you.

You could also try using recordPlot() after plotting the contours, then 
replayPlot() when you want to reproduce them.

Duncan Murdoch