On 25/08/2008, at 4:49 AM, ascentnet wrote:


Greetings!

I was wondering how to plot multiple equation on the same plot with the
data?

So if I have three equations:

1.y= 2.31X + -2.2
2.y=  2.27X^2 + 5.63X + 0.52
3.y=  -1.53X^3 +  1.92X^2 + -4.72X + 4.57

and a datafram or a 2D matrix. I would also like the equations in different
colors, but that is extra!

        ?curve

        Note particularly the argument ``add''.

        Note that ``col'' may be given as one of the ... arguments.

        How (on earth) do data frames or matrices come into it?

                cheers,

                        Rolf Turner

######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}

______________________________________________
R-help@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.

Reply via email to