square gridlines in the figure

77 Ansichten (letzte 30 Tage)
Ugur Sahin
Ugur Sahin am 19 Mai 2020
Kommentiert: Ugur Sahin am 19 Mai 2020
Hi guys,
I have prepared a plot and ı am using grid on function in the script but when ı run the program plot's lines looks rectangular. Hence, cirle looks eliptic I don't want that,
How can ı adjust rectangular gridlines to square gridlines when ı run the program ?
thanks

Akzeptierte Antwort

Geoff Hayes
Geoff Hayes am 19 Mai 2020
Ugur - it could be that your axes do not have the same data unit lengths. Try using
axis equal
to ensure the same spacing on each axis. See Set axis limits and aspect ratios for details.
  1 Kommentar
Ugur Sahin
Ugur Sahin am 19 Mai 2020
Thanks, bro this is working as I want :)

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Line Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by