added 3d plot script