Re: [R] plotting two functions

From: Charles C. Berry <cberry_at_tajo.ucsd.edu>
Date: Wed, 23 Apr 2008 20:37:37 -0700

On Thu, 24 Apr 2008, Manoel Santos wrote:

> i wanna compare functions
> to be simple , let's say i want x^2 and x^5 in same plot ( it's not the
> case but if i get it i'll understand for others )
> how i do it?

See

 	?curve
 	example( curve )

HTH, Chuck

>
> x<-seq(-10, 10, l=100)
>> plot(x^2)
> and?
> tks
>
> [[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.
>

Charles C. Berry                            (858) 534-2098
                                             Dept of Family/Preventive Medicine
E mailto:cberry_at_tajo.ucsd.edu	            UC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901

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. Received on Thu 24 Apr 2008 - 03:46:18 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 24 Apr 2008 - 04:30:31 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive