Why won't hold on work in this code?
古いコメントを表示
Hi, I am trying to plot two functions on the same graph that I have defined as
f = @(x) cos(x)-sin(x)
g = @(x) sqrt(2).*((cos(x+pi/4))
I have the bounds defined as well, and was trying to plot them by
ezplot(f,[xlow xhigh ylow yhigh]); grid on; hold on;
and then the same line using g in place of f
I have plotted multiple functions on the same plot using this code before, but cannot figure out why it won't work in this situation
Thanks
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Graphics についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!