Skip to content
Prev 261961 / 398502 Next

Question about curve function

On 11-06-05 1:07 PM, Abhilash Balakrishnan wrote:
curve() is a convenience function, and it tries to guess what you mean. 
  Sometimes it gets it wrong.

In the first case, it is clear you want to graph x^2.  In the second it 
guesses you have a function named x and want to graph that.  You don't, 
so it fails.

Probably it could try again after the first failure, but I'd guess there 
will always be strange cases where it does weird things.

Duncan Murdoch