can not display picture in the figure window when i use ploy function.
1 view (last 30 days)
Show older comments
the code like this:
x = 0:pi/100:2*pi;
y = sin(x);
figure
plot(x,y)
but the figure window was all black.
2 Comments
Purushottama Rao
on 18 Aug 2015
Yes,As Mr. Walter indicated, you should not have figure command followed by plot without semicolon or comma... Thanks Mr Walter
Accepted Answer
More Answers (0)
See Also
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!