I have a set of data points of protein diffusion in x-y plane. They are sequential in time i.e, recorded at regular intervals of 20ms. Now, I need to plot a line plot in 2 dimensions, which connects them sequentially. By sequential, I mean : The (x,y) coordinates at time t=0 and t=20ms should be connected. Then t=20ms and t=40ms should be connected and so on. At any cost, the order should not go wrong. I am very new to Mathematica. Please help me do this task.

Sample data :

T X Y 20 1 1 40 2 2 60 2 3 80 3 3 100 3 4


closed as off-topic by dr.blochwave, C. E., MarcoB, user9660, ubpdqn May 6 '16 at 6:08

This question appears to be off-topic. The users who voted to close gave these specific reasons:

  • "This question cannot be answered without additional information. Questions on problems in code must describe the specific problem and include valid code to reproduce it. Any data used for programming examples should be embedded in the question or code to generate the (fake) data must be included." – MarcoB, Community, ubpdqn
  • "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – dr.blochwave, C. E.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • $\begingroup$ Could you please provide a data sample? $\endgroup$ – e.doroskevic May 5 '16 at 10:36
  • $\begingroup$ Sounds like you need ListLinePlot. $\endgroup$ – C. E. May 5 '16 at 10:43
  • $\begingroup$ Thank you E. Doroskevic. I will try exploring more of Mathematica and get back to you. I need to solve a bigger problem as well. Thank you once again $\endgroup$ – Vijay Ganesh May 5 '16 at 11:30


data = {{1, 1}, {2, 2}, {2, 3}, {3, 3}, {3, 4}};



output example




Not the answer you're looking for? Browse other questions tagged or ask your own question.