why is my matlab showing blank figures?
Show older comments
My codes give result perfectly but whenever I try to plot something, it shows a blank figure and error messege like , "too many input arguments". I even tried the code from the examples in matlab but the outcome remains same. All the codes are correct and running perfectly in others' laptop but I'm not getting the plot at all. I am facing this problem both in matlab online and offline. Here's a code and its result:
x = 0:0.05:5;
y = sin(x.^2);
figure
plot(x,y)
Error using plot
Too many input arguments.
Error in abcd (line 4)
plot(x,y)

Accepted Answer
More Answers (0)
Categories
Find more on Creating, Deleting, and Querying Graphics Objects 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!