How to plot multiple curves in a figure?
显示 更早的评论
Hello, I just wanted to ask how to plot a curve generated from a function multiple times in the same figure varying parameters each time i execute the function?? so that one can easily compare the effect of parameter variation. Plz help. Thnk you.
回答(1 个)
Walter Roberson
2013-10-8
GeneratePlot(parameters1)
hold on
GeneratePlot(parameters2)
GeneratePlot(parameters3)
类别
在 帮助中心 和 File Exchange 中查找有关 Line Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!