Matlab plots not working
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
David Kim
am 5 Jun. 2023
Kommentiert: David Kim
am 5 Jun. 2023
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);

0 Kommentare
Akzeptierte Antwort
Image Analyst
am 5 Jun. 2023
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
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots 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!