plotting generates hidden figure
2 views (last 30 days)
Show older comments
Moslem Uddin
on 2 Sep 2019
Answered: Walter Roberson
on 2 Sep 2019
while plotting i have the following figure, which is hiden. What to do?
3 Comments
Walter Roberson
on 2 Sep 2019
Your graphics driver is a year out of date. Updating might help.
Accepted Answer
Walter Roberson
on 2 Sep 2019
Instead of using
fplot(pl_f, [0 10])
use
fplot(real(pl_f), [0 10])
Due to round-off, there are small imaginary quantities that fplot thinks are leading to discontinuities.
0 Comments
More Answers (0)
See Also
Categories
Find more on Graphics Performance 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!