importing second graphics function

refining function to display trends