use Axes3D instead of gca-projection

and remove useless functions