roleic 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))
> 
> But I get the following errors message:
> 
> Traceback (click to the left for traceback)
> ...
> TypeError: float() argument must be a string or a number
> 
> If I replace the last variable u with a constant value like 6 then the
> plot works but that is not what I want.
> Is there a way to plot with variable plot limits?


We only support rectangular regions right now (i.e., the numbers, not 
the variables).  However, it would be great to be able to support 
non-rectangular regions.  One more general way of doing this is to let 
the user pass in some sort of domain function which would evaluate to 
True or False, and that function would be called on for every point in 
the rectangle.  Patches are welcome!

The implicit_plot3d patch on trac right now implements something like 
this (a "hole" function letting you carve out part of the object).

Jason


--~--~---------~--~----~------------~-------~--~----~
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