How to overlay plots one above the other?

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

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)

Set the 'Clipping' property of what you want outside the axes to off.

Categories

Asked:

on 24 Oct 2016

Answered:

on 24 Oct 2016

Community Treasure Hunt

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

Start Hunting!