1 | initial version |
It seems that this version does not ignore the x*y case:
p=contour_plot(lambda x,y: F(x,y), (x,0,1), (y,0,1) )
p.show()
2 | No.2 Revision |
It seems that this version does not ignore the x*y case:
p=contour_plot(lambda x,y: F(x,y), (x,0,1), (y,0,1) )
p.show()
Lambda is not necessary:
def F(x,y):
if( x <= y ):
return x*y
return x+y
contour_plot( F, (x,0,1), (y,0,1) ).show()