Graph plotting streamlined