Justin C. Walker wrote:
> Hi,
> 
> On Feb 4, 2008, at 6:16 AM, vgermrk wrote:
> 
>> I want to plot a simple function:   sqrt(1-x^2)
>> i tried  plot(sqrt(1-x^2),(x,1,10))  and  plot((1-x^2)^(0.5),(x,
>> 1,10))  ,
>> but i doesn't work.
> 
> Please, in the future, include a little information with your  
> question.  It is not easy to diagnose problems in the absence of  
> context: Sage version, Platform (hardware, OS, OS version) at least.
> 
> Second, try to explain what "it doesn't work" means.  The folks on  
> this list are pretty good, but their talents typically don't include  
> the ability to read minds.
> 
> As to what might be wrong, I think the problem is that your function  
> is not one that plot() can handle.  sqrt(f) produces (non-real)  
> complex numbers in the range you are specifying, while plot() expects  
> real (or, at least, rational) numbers.
> 

I agree with Justin's comments on how to ask good, detailed questions 
about functionality.  This question was also asked on IRC and resolved 
in the same way.

I did open a trac ticket since the error message is pretty confusing; 
see trac ticket #2045.

Thanks,

Jason


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to