Skip to content
Prev 156329 / 398506 Next

Creating smooth color regions with panel.contourplot()

On Wed, Sep 17, 2008 at 1:25 PM, Deepayan Sarkar
<deepayan.sarkar at gmail.com> wrote:
That isn't completely accurate. To ensure that the plot doesn't start
a new page, you need something like

pdf()
plot.new()
levelplot(volcano, panel = panel.filledcontour,
          col.regions = terrain.colors,
          cuts = 25,
          plot.args = list(newpage = FALSE))
dev.off()

-Deepayan