[Rd] Plotting points on a filled.contour plot (PR#857)
Wed, 28 Feb 2001 11:13:09 +1300
> When adding points to a filled.contour plot they do not appear at the
> The following code demonstrates this.
The problem here is that filled.contour is actually a combination of two
plots; one is the filled contour and one is the legend. filled.contour
sets up two separate coordinate systems for these two plots, but only does
so internally - once the function has returned these coordinate systems are
lost. In order to access the coordinate system of the main contour plot you
can specify graphics commands in the plot.axes argument. For example, in
your case, replace your call to filled.contour with the following, and all
is as it should be ...
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: email@example.com