|   | 1 |  initial version  | 
Like this
sage: var('x,y,z')
(x, y, z)
sage: P = plot3d(2 + sin(x) + cos(y), (x,-1,1), (y,-1,1))
sage: def condition(x,y,z):
....:     return bool(x*x<y)
sage: P.add_condition(condition)
 Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.
 
                
                Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.