Hint 2.
This function is one 4D version of Twin Peaks.
Use box: -2 < x,y < 2.
Use f values: f = -3, -1, 1, 3 and make a cutout in the function by graphing y from -1 to 2.