Trajectories of characteristic atoms

Dear colluages
Hello
I did Md simulation through Discover module. I need to plot Distances of two molecules which collect via Trajectories map. 
I do not know how can I collect the trajectory map like the following fig.

User-added image

Would you please let me know how can I plot?
Thank you very much

Best wishes
Reza