Putting arrows on a graph line matlab

조회 수: 90 (최근 30일)
Mohammed Magdy Sharara
Mohammed Magdy Sharara 2020년 4월 28일
편집: Adam Danz 2020년 4월 29일
Hello Folks, So i am trying to add arrows and bubble numbers that contain the number of the orbit in my matlab figure
**like this i am using Gui in my matlab i have tried many times but it doesn't work**
**My Gui looks like this**

답변 (1개)

Adam Danz
Adam Danz 2020년 4월 28일
편집: Adam Danz 2020년 4월 28일
Arrows can be added with annotation but it's an incredibly clumsy process since you have to specify the arrow coordinates in normalized coordinates rather than data coordinates. You could also use quiver which allows you to use data units.
Since your arcs are colored, why not just use a legend?
Update:
To plot a line object with arrows, try one of the files on the file exchange. Here's a good example:
  댓글 수: 4
Mohammed Magdy Sharara
Mohammed Magdy Sharara 2020년 4월 28일
No i mean the arrows in each transfer orbit
Adam Danz
Adam Danz 2020년 4월 28일
편집: Adam Danz 2020년 4월 29일
See the updated part of my answer. Matlab doesn't have a builtin method of drawing arrows along a line but there are several function on the exchange that do something like that.

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

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by