Error in plot function

3 views (last 30 days)
Louanne Grace de Sales
Louanne Grace de Sales on 19 Mar 2019
Commented: Harsh on 3 Jul 2024
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

Accepted Answer

madhan ravi
madhan ravi on 19 Mar 2019
Edited: madhan ravi on 19 Mar 2019
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 Comments
Steven1
Steven1 on 16 Jun 2023
Thanks,I had the same issues.
Harsh
Harsh on 3 Jul 2024
How to remove script plot.m

Sign in to comment.

More Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!