Hi all,
Hoping someone can help me with this scatter plot question.
I am trying to connect 3 data points with a line to help show a pattern of play in a tennis match.
I am able to plot each data point however I would like to connect them together for each play.
The data I have looks like this:
<tbody>
</tbody>
Once plotted, I have a data point for serve location, return location and final(2nd) shot location.
In the example above I have 10 points detailed, so looking to therefore have 10 lines connecting each of the 3 data points. This will then enable me to see where in a tennis match the serve land, where the return goes, and then where the next shot goes - showing me a simple pattern of play.
Hope that makes sense. Any help would be much appreciated.
Best,
Marc
Hoping someone can help me with this scatter plot question.
I am trying to connect 3 data points with a line to help show a pattern of play in a tennis match.
I am able to plot each data point however I would like to connect them together for each play.
The data I have looks like this:
Serve location (x) | Serve location | Return location (x) | Return location | Final shot location (x) | Final shot location |
51 | 32 | 60 | 83 | 42 | 5 |
38 | 34 | 29 | 66 | 55 | 51 |
61 | 35 | 64 | 88 | 72 | 17 |
39 | 34 | 47 | 67 | 52 | 52 |
31 | 30 | 51 | 74 | 59 | 52 |
58 | 34 | 59 | 83 | 72 | 14 |
29 | 34 | 51 | 76 | 32 | 24 |
54 | 29 | 49 | 90 | 22 | 15 |
50 | 33 | 49 | 93 | 67 | 26 |
70 | 34 | 49 | 94 | 35 | 5 |
<tbody>
</tbody>
Once plotted, I have a data point for serve location, return location and final(2nd) shot location.
In the example above I have 10 points detailed, so looking to therefore have 10 lines connecting each of the 3 data points. This will then enable me to see where in a tennis match the serve land, where the return goes, and then where the next shot goes - showing me a simple pattern of play.
Hope that makes sense. Any help would be much appreciated.
Best,
Marc