adding 3d capabilities, legends and title to the graphs