Filter löschen
Filter löschen

fix window size for circle plot?!

9 Ansichten (letzte 30 Tage)
Christian
Christian am 9 Jan. 2017
Kommentiert: Christian am 15 Jan. 2017
Hello everybody,
my script is fully working except for one detail. I have 3 subplots in one window. Two of them are perfect circles. After running the script I would like to pinch the figure window to fullsize, which unfortunately ruins those perfect circles. In fullsize the circles look more like ellipses.
Thank you Christian

Akzeptierte Antwort

Image Analyst
Image Analyst am 9 Jan. 2017
Try one of these:
axis square
axis equal
One of them should do what you want.
  1 Kommentar
Christian
Christian am 15 Jan. 2017
axis equal worked perfect for me, thank you!!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Adam
Adam am 9 Jan. 2017
doc axes properties
Take a look at the sections on:
DataAspectRatio
PlotBoxAspectRatio
I can't remember off the top of my head what settings you need, but these are the two settings that control the aspect ratio of the data and of the axes.
  1 Kommentar
Christian
Christian am 9 Jan. 2017
That seems to work! But how can I set my manual properties as a default for this figure? Everytime I run the script, the figure loses the settings and acts like before.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Graphics Performance 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!

Translated by