Plotting XY origin XY destiny
2 views (last 30 days)
Show older comments
Hi guys!
I have a dataset of passes in football with all the origins and destinies of those pases in XY. How could I plot a line between them with an arrow defining the destiny? Something like this. I have too if the pass was succsessfull or not.
0 Comments
Answers (1)
Steven Lord
on 3 Aug 2018
The first function that comes to mind based on the picture is quiver, though I'm not completely certain from your description whether that will do what you want. Your message says "plot a line between them" but your picture does not have the arrows connecting any of your points.
If quiver doesn't do what you want, can you explain in a bit more detail (perhaps with a few more pictures) exactly how you want to visualize your data?
See Also
Categories
Find more on Vector Fields in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!