addtable2plot function

Add a table of values to a plot