added specDraw function to dataPlot