amPlot function

Plot serial data