Getting blank plots in matlab
1 view (last 30 days)
Show older comments
hi, i'm running the code without errors but getting blank plots can't figure out where is the problem![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/487528/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/487528/image.png)
0 Comments
Answers (1)
Hiro Yoshino
on 14 Jan 2021
figure;
subplot(3,1,1);
plot(th7,th6,'g','linewidth',2);grid
xlabel('{ \theta_{7}} [deg]');
(th7, th6) is a point - try this one:
figure;
subplot(3,1,1);
plot(th7,th6,'o');grid
xlabel('{ \theta_{7}} [deg]');
4 Comments
Hiro Yoshino
on 14 Jan 2021
I suggest you use "break points" so that you can check and see what's going on.
See Also
Categories
Find more on Subplots 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!