On Mar 10, 1:10 pm, roleic <rol...@vtxmail.ch> wrote:
> In integrals variable integration limits work fine with sage.
> Now I would like to plot the variable integration range with plot3d or
> parametric_plot3d using variable plot range limits:
>
> u,v = var('u v')
> parametric_plot3d([u, v, u*0.1], (u, 0, 6), (v, 0, u))

In this example at least, you can parameterize the surface more
carefully.  Since x = u, y = u*v maps a square in the uv-plane to
a triangle in the xy-plane, (u, u*v, f(u, u*v)) parameterizes the
portion of the surface you want over the region of interest.  More
generally, x = u, y = (1-v)*g(u) + v*h(u) parameterizes the region
between the graphs of the functions g and h.  Thus, you could
do your example like so:

(x,y,u,v) = var('x,y,u,v')
f(x,y) = 0.1*x;
parametric_plot3d([u,u*v,f(u,u*v)],
  (u,0,2), (v,0,2))

Have fun,
Mark McClure

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

Reply via email to