Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
同じ図に折れ線グラフと、色付きの線の下のグラフの一部 (信頼区間) を表示したいと思います。
MATLAB でこれを行うにはどうすればよいですか?
私はすでに次のことを試しましたが、うまくいきません(エリアしか表示されません):
plot(theta, p_prior_cum) area(theta(50:70), p_prior_cum(50:70)) axis([0 1 0 1])
Figure 内の現在のグラフを保持するには、hold off と hold on を使用する必要があります。
このような:
hold on plot(theta, p_prior_cum) area(theta(50:70), p_prior_cum(50:70)) axis([0 1 0 1]) hold off
これは、使用法をより完全に説明するリンクです