Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

I am using the plot function but I am not getting a figure to show

1 view (last 30 days)
I was following my uni classes, and i did the same steps as the tutorial said but when i type the statement below into the editor and run the program, nothing happens it just keeps typing the name of my editor file into the command window and not doing anything else
x=0:0.1:2*pi;
y=sin(x);
plot(x,y);
  3 Comments
Allen Antony
Allen Antony on 2 Sep 2020
Edited: Allen Antony on 2 Sep 2020
ok when I put it in command window it works. Thank you
Walter Roberson
Walter Roberson on 2 Sep 2020
Possibly your figure was hidden?
Also, some people have observed difficulties with plots in Live Script.

Answers (0)

This question is closed.

Tags

Community Treasure Hunt

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

Start Hunting!