Hi all,
I'm trying to plot this two curves in a single cartesian plane, but when I
plot the first one, the plot appears with no negative "y" value. When I plot
the second curve, it almost does not apear in the graph.
I was trying the plot.window but with no success.
Can someone help me with this?
If possible, I'd like to plot this curves in a perfect cartesian plane.
f = function(x) {
x^2
}
f2 = function(x) {
-x^2
}
plot(f,-10,10)
abline(h=0, v=0, col = "gray60")
curve(f2,col="orange", add=T)
Thanks in advanced!
*pablo de camargo cerdeira*
[email protected] | [email protected]
Phone: +55-(21)-3799-6065
[image: Facebook] <http://www.facebook.com/pablo.cerdeira>[image:
LinkedIn]<http://br.linkedin.com/in/pablocerdeira>[image:
Google] <http://www.google.com/profiles/pablo.cerdeira>
[image: Google Talk/]pablo.cerdeira [image: Skype/]pablocerdeira
[[alternative HTML version deleted]]
______________________________________________
[email protected] 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.