how to resize axes within a GUI
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello,
I am not used to work with Gui interfaces and i am having some troubles to define the axes limits.
I want plot 2 points in the GUI. Lets say A(-2;10) and B(5;5) but as i can't change the axes limits i can't display these 2 points.
On the other hand, is it possible to change the X axis limit to [-100,100], the same for the Y one but centered in (0,0)?
Thank you in advance for your help,
Fatzo
0 Kommentare
Akzeptierte Antwort
Azzi Abdelmalek
am 14 Aug. 2013
Bearbeitet: Azzi Abdelmalek
am 14 Aug. 2013
set(handles.axes1,'xlim',[-100 100],'ylim',[-100 100])
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Annotations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!