How to overlay plots one above the other?

5 views (last 30 days)
Sowmya MR
Sowmya MR on 24 Oct 2016
Answered: Marc Jakobi on 24 Oct 2016
Hi all,
I have plotted arrays in a single subplot. However, i want to plot the red dotted curve which is inside the subplot to just above the subplot which i have shown in the attached figure. Can someone please help me with this?
  1 Comment
Chaya N
Chaya N on 24 Oct 2016
Do you mean that you want to plot the dotted red line outside of your current plot window or in a separate window of its own?

Sign in to comment.

Answers (1)

Marc Jakobi
Marc Jakobi on 24 Oct 2016
Set the 'Clipping' property of what you want outside the axes to off.

Community Treasure Hunt

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

Start Hunting!