Plot Multiple lines on the same Graph
5 次查看(过去 30 天)
显示 更早的评论
Hello!
I'm afraid this may be a little bit of a basic issue for many, however I'm still getting to grips with MATLAB. I am trying to plot my graphs all on one graph. I have been looking through the forums but there's a lot of information, but many of them quite different from each other. I was wondering if someone could help so that I can know what to do in the future?
I have uploaded my file also.
Many thanks!
回答(1 个)
Hari Krishna Ravuri
2020-3-9
I understand that you want to retain current plot when adding new plots. Consider using
hold on
Please refer https://in.mathworks.com/help/matlab/ref/hold.html to know more about the hold command.
Hope this helps!
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!