is it possible to draw a square of width 1000 pixels, which is always 1000 pixels wide, even if the size of the window is changed on the screeen?
Afficher commentaires plus anciens
I am trying to create an array of dots, each one pixel wide/tall so that the colour of each pixel can be specified. thanks
Réponse acceptée
Plus de réponses (1)
Image Analyst
le 8 Août 2014
0 votes
I'd make sure the 'units' property of everything is in pixels. Then I'd see if I can get into the callback of the gui resize event and put in a set(handles.axes1, 'Units', 'pixels', 'Position', [1,1,1000,1000]) or something like that.
Catégories
En savoir plus sur Display Image dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!