Changed the 'plot' function of data.