working on multiplot

made some changes to hopefully get multiple lines plotted in one window