On Mon, Jun 11, 2012 at 1:47 PM, Chris Smith <[email protected]> wrote: >> === removing the free variables (eg `plot(x*y, (0,2), (0,2))`) will >> detect them automatically > > This is ambiguous: `plot(x*y,(-1,1),(0,2))` which range is x and which > y? Rather than guess, if the length-2 tuples are not the same I think > an error should be raised.
That's right. The "blessed" (=documented, encouraged, ...) syntax should be: p = plot(x**2*y, (x, -5, 5), (y, -1, 1)) but that works too, I just tried. I played with the new functionality and it works great! Thanks so much for making this happen, it was badly needed. Ondrej -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
