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
filled contour + points
2 messages · Ivailo Partchev, Roger D. Peng
Rather than transform the points, you can use the `plot.axes' argument to filled.contour() and call points() from there. -roger
Ivailo Partchev wrote:
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
______________________________________________ R-help at stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html