add plot function in dataset object