Overlaying Subplots

Hi everyone,
I am a MATLAB rookie and need some assistance in overlaying two subplots. Is there a certain command that allows me to do this? Any input would be greatly appreciated. Thanks!

回答 (2 件)

Oleg Komarov
Oleg Komarov 2011 年 4 月 16 日

1 投票

hold on
Before plotting on the same plot the second time.
Seyyed Ali
Seyyed Ali 2011 年 11 月 28 日

0 投票

I have a question I call subplot and plot inside a function(myPlot). I have 'hold on' command before my plot command. Every time I call myPlot, it replaces the previous plot. I don't know how I can hold it. Any Idea? Note that I have hold on.

1 件のコメント

Daniel Shub
Daniel Shub 2011 年 11 月 28 日
This is really a new question and not an answer to the question Brad asked. You should ask it as a new question.

サインインしてコメントする。

質問済み:

2011 年 4 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by