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

looks like an adequate visualization in 2d.

h

On Jul 30, 5:04 pm, surfer <mailingslis...@googlemail.com> 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 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