Skip to content

contour lines in filled.contour

1 message · Romain Francois

#
Hi,

When I want to draw contour lines on top of a filled.contour plot, I can 
use the plot.axes arg, such as in : 

filled.contour(volcano, color = terrain.colors, asp = 1,
  plot.axes=contour(volcano, add=T) )

but then the lines are computed twice. Is it possible to add an option 
to filled.contour such that the lines are drawn internally when computed 
in do_filledcontour. The code is in src/main/plot3d.c in the current 
R-devel. I would like to do it, but I don't understand the internals.

Romain