Borrar filtros
Borrar filtros

what is axes_handle in matlab

4 visualizaciones (últimos 30 días)
Ruhi
Ruhi el 25 de Abr. de 2013
what is the meaning of the following line of code?
image(I,parent,axes_handle);

Respuestas (1)

Andreas Goser
Andreas Goser el 25 de Abr. de 2013
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 comentario
Jan
Jan el 25 de Abr. de 2013
@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.

Iniciar sesión para comentar.

Categorías

Más información sobre Convert Image Type en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by