Plotting XY origin XY destiny

조회 수: 4 (최근 30일)
Daniel Jara
Daniel Jara 2018년 8월 3일
편집: Daniel Jara 2018년 8월 3일
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.

답변 (1개)

Steven Lord
Steven Lord 2018년 8월 3일
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?
  댓글 수: 1
Daniel Jara
Daniel Jara 2018년 8월 3일
편집: Daniel Jara 2018년 8월 3일
I have a dataset like this: player 1 that makes a pass with the coordinates XY of the pass and player 2 that recives the pass with coordinates. I want to conect this pass with an arrow-line that shows from where to where was done for every data row.
Thanks!!!

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Vector Fields에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by