daspect and get(gca,'position')

4 visualizaciones (últimos 30 días)
florence renalier
florence renalier el 14 de Dic. de 2015
Comentada: florence renalier el 14 de Dic. de 2015
How can I get the true 'Position' of the axis that I modified with "daspect". When I type "get(my_axis,'Position')", the returned x-position and width are the same as before the "daspect" command, whereas the x-axis has been reduced (the limiting axis being the y-axis) ...
  1 comentario
florence renalier
florence renalier el 14 de Dic. de 2015
I add an example:
figure; subplot(414); imagesc(ones(10)); p1=get(gca,'position'); daspect([1 1 1]); p2=get(gca,'position');
--> I would like to be returned the position of the small square in which is now plotted my matrix ones(10), instead of the same as p1.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Colorbar en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by