How to plot single points and multiple lines?