control plot for 3D