How to plot a data