# Use of min(x,y) in plot3d, integrals, etc.

Is there a way to get for the function `min(x,...,y)' the following?

- a plot3d? (in the case of two arguments)
- integrals?
- at least, numerical integrals?

It's likely my bad syntax the culprit, but here is my MWE:

```
var('x,y,z')
plot3d(min(y,x),(x,0,1),(y,0,1)) #not the right plot
integrate(integrate(integrate(min(y,x,z),(x,0,1)),(y,0,1)),(z,0,1)) # this integrates f(x)=x
numerical_integral(numerical_integral(numerical_integral(min(y,x,z),(x,0,1)),(y,0,1)),(z,0,1))
```