When I put in a simple vector to be plotted, whenever I call the plot function, it wouldn't run and the script will have an error"
Screen Shot 2019-03-20 at 12.20.08 AM.png

 Réponse acceptée

madhan ravi
madhan ravi le 19 Mar 2019
Modifié(e) : madhan ravi le 19 Mar 2019

3 votes

You have a script named plot.m please remove it from the path ,rename or delete it , it is shadowing the in-built plot() function.

3 commentaires

Louanne Grace de Sales
Louanne Grace de Sales le 20 Mar 2019
thank you very much! it totally worked fine now :)
Steven1
Steven1 le 16 Juin 2023
Thanks,I had the same issues.
Harsh
Harsh le 3 Juil 2024
How to remove script plot.m

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Line Plots dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by