How to plot multiple curves in a figure?

2 次查看(过去 30 天)
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
Walter Roberson 2013-10-8
GeneratePlot(parameters1)
hold on
GeneratePlot(parameters2)
GeneratePlot(parameters3)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by