Skip to content
Prev 299020 / 398503 Next

saving contour() plot info

Many thanks for these ideas ...  I'll try them, and report back

	Cheers	Bob Kinley

-----Original Message-----
From: Duncan Murdoch [mailto:murdoch.duncan at gmail.com] 
Sent: 03 July 2012 15:54
To: Robert Douglas Kinley
Cc: r-help at r-project.org
Subject: Re: [R] 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