I think that's a serious problem. This is now trac #3350.  Seems like
the problem must be close to the call on "setup_for_eval_on_grid" in
sage/plot/plot.py but I haven't totally tracked it down yet.

-M. Hampton

On Jun 1, 4:08 am, Georg Muntingh <[EMAIL PROTECTED]> wrote:
> You can use the plot_vector_field command:
>
> # Declare your variables:
> var('x t')
>
> # Define you function, for instance:
> def f(t,x):
>     return t*x
>
> # Plot the associated vector field:
> plot_vector_field((lambda t, x: 1, f(t,x)), (-1, 1), (-2, 2))
>
> There seems to be something awry, however, compare
> plot_vector_field((lambda t, x: 1, x), (-1, 1), (-2, 2))
> plot_vector_field((lambda t, x: 1, x + 0.001*t), (-1, 1), (-2, 2))
> (the second one is what one expects for the differential equation x' =
> x)
>
> Why does the vector field look so different when it depends only on
> one coordinate?
--~--~---------~--~----~------------~-------~--~----~
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