square gridlines in the figure

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

 采纳的回答

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 个)

类别

帮助中心File Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by