[R] overlap two graph

Scott Sherrill-Mix shescott at mail.med.upenn.edu
Wed Aug 5 15:53:45 CEST 2009


Did you try already try:
plot(ellipsePoints(2,5, alpha = 30), asp=1)
points(ellipsePoints(2,5, alpha = 60), asp=1,col='red')
?

Scott




Scott Sherrill-Mix
Department of Microbiology
University of Pennsylvania
402B Johnson Pavilion
3610 Hamilton Walk
Philadelphia, PA  19104-6076




On Wed, Aug 5, 2009 at 5:46 AM, Hemavathi Ramulu<hema.ramulu at gmail.com> wrote:
> Hi everyone,I need you all help.
> I want to create few image in same diagram.
>
> For example, I wan draw two ellipse in same diagram.
>
>  plot(ellipsePoints(2,5, alpha = 60), asp=1)
> and
> plot(ellipsePoints(2,5, alpha = 30), asp=1)
>
> How to display both ellipse together? both is different in angle.
>
> Thank you.
> --
> Hemavathi Ramulu
>
>        [[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.
>




More information about the R-help mailing list