필터 지우기
필터 지우기

How to pin an object from command

조회 수: 2 (최근 30일)
Micah
Micah 2011년 9월 16일
I read the tutorial and want to pin an annotation object, but I am creating them from a function. Is there a way to pin them to a point as an option of the annotation function? The tutorials only specify how to do it by selecting it from the menus.
Thanks!

답변 (1개)

Fangjun Jiang
Fangjun Jiang 2011년 9월 16일
use annotation() and specify the position.
Follow this link. You need to create a function which is provided. http://www.mathworks.com/help/techdoc/creating_plots/bquk5ia-1.html
  댓글 수: 2
Micah
Micah 2011년 9월 16일
But then when the user zooms the arrow are relative to the figure and not the axis and get out of place. I want them to stay pointing towards a point on the axis regardless of the zoom level.
Thanks for answering though!
Fangjun Jiang
Fangjun Jiang 2011년 9월 16일
Okay, See update!

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

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by