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

 Respuesta aceptada

Image Analyst
Image Analyst el 5 de Jun. de 2023

0 votos

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 comentario

David Kim
David Kim el 5 de Jun. de 2023
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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Line Plots en Centro de ayuda y File Exchange.

Productos

Versión

R2021b

Etiquetas

Preguntada:

el 5 de Jun. de 2023

Comentada:

el 5 de Jun. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by