How do i plot 3 langrange polinomials in one figure?
显示 更早的评论
回答(1 个)
John D'Errico
2019-2-17
Do you know how to plot ONE such polynomial? I hope so. If you do, then you need to use the hold command. That is, after you plot the first polynomial, use
hold on
That allows you to continue plotting new things on the same figure, instead of creating a new figure each time.
类别
在 帮助中心 和 File Exchange 中查找有关 Polynomials 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!