Generalized maxminmax functions with 8 types
Plot f(x,y,z) with fixed x and y