what is axes_handle in matlab

what is the meaning of the following line of code?
image(I,parent,axes_handle);

답변 (1개)

Andreas Goser
Andreas Goser 2013년 4월 25일

1 개 추천

The elements of MATLAB figures (AKA handle graphics) or of diffent types. E.g. a figure with two subplots typically has two axes. All thos elements have handles to identify them. In your code you need the "number" of the axes - the handle.
If you have just one axes, you can use the GCA command.
Note that the syntax of MATLAB's built-in function is:
image(x,y,C,'PropertyName',PropertyValue,...)

댓글 수: 1

Jan
Jan 2013년 4월 25일
@Ruhi: This is also explained exhaustively in the Getting Started chapters of the documentation. It is a good strategy to read them, because you cannot handle such a powerful language as Matlab without it.

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

카테고리

도움말 센터File Exchange에서 Graphics Objects에 대해 자세히 알아보기

질문:

2013년 4월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by