Connecting two XY series
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi guys I have a quick question. I have two sets of Data. for e.g
A =
1 2
3 4
and
B =
10 12
13 14
Now i want to connect the coordinate (1,2) with (10,12) and (3,4) with (13,14) with a either a line with arrow pointing to the coordinates in B, and in a separate chart, the same plot but instead of a line the shape should be a rectangle with a certain width. Can someone help.
댓글 수: 0
답변 (1개)
Image Analyst
2012년 8월 20일
편집: Image Analyst
2012년 8월 20일
Try the annotation() function for the arrow, and the rectangle() function for the rectangle.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!