[Rd] contour lines in filled.contour

Romain Francois francoisromain at free.fr
Tue Jun 6 11:04:06 CEST 2006


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


-- 
visit the R Graph Gallery : http://addictedtor.free.fr/graphiques
mixmod 1.7 is released : http://www-math.univ-fcomte.fr/mixmod/index.php
+---------------------------------------------------------------+
| Romain FRANCOIS - http://francoisromain.free.fr               |
| Doctorant INRIA Futurs / EDF                                  |
+---------------------------------------------------------------+



More information about the R-devel mailing list