can you share an example to plot a tpxy diagram ?