plot function

plot a 2D cut of a 3D object