Matlab plots not working

4 ビュー (過去 30 日間)
David Kim
David Kim 2023 年 6 月 5 日
コメント済み: David Kim 2023 年 6 月 5 日
I'm using 2021b. My matlab plot functions are not working for some reason. Figure works fine.
figure;
axis;
I get an error code like this:
plot(1:10);

採用された回答

Image Analyst
Image Analyst 2023 年 6 月 5 日
You probably redefined the built-in function "axis" with your own m-file, function, or variable. Don't do that. rename your m-file, variable or function you defined so that it does not have the same name. What does this show in the command window:
which -all axis
  1 件のコメント
David Kim
David Kim 2023 年 6 月 5 日
Ah! I see now. It was not the axis function, but upon doing which -all on the get function, I found a different one that I excluded. Thank you

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

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by