[R] Put 2 ablines in an "empty plot"

David Winsemius dwinsemius at comcast.net
Fri Dec 5 10:06:42 CET 2014


On Dec 5, 2014, at 12:30 AM, Adrien Bonvin wrote:

> Bonjour
> Hi everybody,
> 
> Firs of all, sorry for my terrible English,
> 
> I would like to know if it’s possible to create an “empty plot” in which i could add two ablines I created on two different plots earlyer in my script.
> 
> 
> 
Read there help page for ?plot.default. There is a type parameter that lets you do what you ask. There's also a worked example on ?plot.window
> 
> As a result I would like to have a plot with only the two ablines (in the same plot) but without the graphs I used to create the ablines in the first place.
> 
> I hope I explained my problem well enough.
> 
> Thanks for helping me out, i hope someone has the answer.
> 
> Adrien Bonvin
> 	[[alternative HTML version deleted]]

Please read what the posting guide says about html posting.
> 
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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