Lines don't show up in the next plotting
2 次查看(过去 30 天)
显示 更早的评论
Hi everyone,
When I'm plotting two lines on a different figure, the first figure shows fine (two lines together), but when I call the next figure one of the lines shows up. When I put one line as a comment and vice versa, the other one shows up. What could be my problem on this? I attached my plotting code for your reference.
Thanks in advance for the answer.
0 个评论
采纳的回答
KSSV
2017-11-15
Use hold on.
This helps in keeping the first plot and the later one to plot on the previous one. Read about hold on.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!