Effacer les filtres
Effacer les filtres

How to change size of Axes in matlab GUI to pixel units?

11 vues (au cours des 30 derniers jours)
Tina
Tina le 25 Août 2013
Hello
I am new to MATLAB GUI. I have an axes component in my GUI. I want to have it in such a way that it shows a 50x50 pixel. How can I do this

Réponses (2)

Jan
Jan le 25 Août 2013
set(AxesHandle, 'Units', 'pixels', 'Position', [10, 10, 50, 50]);

Walter Roberson
Walter Roberson le 25 Août 2013
See http://www.mathworks.com/help/matlab/ref/axes_props.html and decide whether you want to work with Position or InnnerPosition or OuterPosition for your "50 x 50".
  1 commentaire
Tina
Tina le 25 Août 2013
yes but I don't know how to change this to pixels.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by