Skip to content

filled contour + points

2 messages · Ivailo Partchev, Roger D. Peng

#
Hello

I have a small problem with filled contour plots. I'd like to plot point 
on top of that using points(). Trouble is, the x axis of the contour 
plot is modified to make room for the legend but points() is not aware 
of that. It could be easily tackled by using a linear transformation of 
x in points(), but does anyone know exactly  *what* transformation?

Kind regards

Ivailo Partchev
#
Rather than transform the points, you can use the 
`plot.axes' argument to filled.contour() and call points() 
from there.

-roger
Ivailo Partchev wrote: