read-in different format data and plot them