sage: density_plot(f, (0,1), (0,1))

looks like an adequate visualization in 2d.

h

On Jul 30, 5:04 pm, surfer <[email protected]> wrote:
> Hi,
>
> could someone help me to plot the function
>
> def f(x,y):
>     if x<=y:
>        return x*(1-y)
>     elif y<=x:
>        return y*(1-x)
>
> for 0<=x,y<=1 in 2D?
>
> Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
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/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to