how to get a drawing with the same axes?

1 回表示 (過去 30 日間)
Pavel Kuzmitsky
Pavel Kuzmitsky 2020 年 12 月 1 日
コメント済み: Pavel Kuzmitsky 2020 年 12 月 2 日
after getting a picture, such as a circle, due to the fact that the monitor is not square, but rectangular (or maybe not because of this), my x-axis becomes longer and as a result, the picture shows not a circle, but an ellipse.
what can I do to display an image without distortion?

採用された回答

Cris LaPierre
Cris LaPierre 2020 年 12 月 1 日
add the following command after your plot command.
axis equal
  3 件のコメント
Cris LaPierre
Cris LaPierre 2020 年 12 月 2 日
This command sets the length along each axis the same (see here).
If your plot is still not circular, I suspect your code is not creating a circle. Could you share your code?
Pavel Kuzmitsky
Pavel Kuzmitsky 2020 年 12 月 2 日
sorry, I made a stupid mistake, everything works fine, thank you

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

製品


リリース

R2020a

Translated by