[R] could I remove or move points in locator() based on plot()?
David Winsemius
dwinsemius at comcast.net
Fri Aug 2 19:17:18 CEST 2013
On Aug 2, 2013, at 2:26 AM, Klot Lee wrote:
> Hi,
> The function locator() allows me to add points by mouse on function plot()
> I have draft. But the points can not be edit once I have made the click.
> How can I remove or just move the points I made on the draft?
You cannot. The plotting model for base graphics is indelible ink. The best you could do would be to plot white on top of black.
--
David.
>
> I use the locator function like this:
>
>> plot(1,1)
>> locator(type="o")
>
>
> Thanks.
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
David Winsemius
Alameda, CA, USA
More information about the R-help
mailing list