On Tue, Feb 3, 2009 at 2:21 PM, Fredrik Johansson
<fredrik.johans...@gmail.com> wrote:
>
> On Tue, Feb 3, 2009 at 2:22 PM, David Joyner <wdjoy...@gmail.com> wrote:
>> So Sympy is consistent in terms of the diff/integrate syntax. However,
>> For plot and integrate, the syntax is slightly different:
>>
>> sage: sympy.integrate( f, [x, 0, pi], [y, 0, pi])
>> pi - 1/pi*sin(pi**2)
>> sage: sympy.Plot( f, [x, 0, pi, numsteps], [y, 0, pi, numsteps])
>> [0]: y*sin(x*y), 'mode=cartesian'
>>
>> This is because sympy (unlike Sage) does not have a default value for the
>> number of samples used to create the plot.
>
> Huh? sympy.Plot(y*sin(x*y), [x, 0, pi], [y, 0, pi]) works for me.
>


Not me:

sage: version()
'Sage Version 3.3.alpha3, Release Date: 2009-01-28'
sage: sympy.Plot(y*sin(x*y), [x, 0, pi], [y, 0, pi])
ERROR: An unexpected error occurred while tokenizing input
...

ValueError: Could not interpret [x, 0, pi] as a function or interval.






> Fredrik
>
> >
>

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

Reply via email to