Matlab plots not working
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
David Kim
el 5 de Jun. de 2023
Comentada: David Kim
el 5 de Jun. de 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 comentarios
Respuesta aceptada
Image Analyst
el 5 de Jun. de 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
Más respuestas (0)
Ver también
Categorías
Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!