From: Ian on
Hi,
I want to make 3 subplots on a plot. Then I would like to highlight data in certain areas by drawing a line that starts inside one subplot and ends in another subplot. Is this possible?
From: us on
"Ian " <isharp2(a)uic.edu> wrote in message <htm0fl$hv2$1(a)fred.mathworks.com>...
> Hi,
> I want to make 3 subplots on a plot. Then I would like to highlight data in certain areas by drawing a line that starts inside one subplot and ends in another subplot. Is this possible?

one of the solutions

subplot(2,1,1);
subplot(2,1,2);
ah=axes('position',[.2,.2,.6,.6],'visible','off'); % <- select your pos...
line([.1,.9],[.1,.9],'parent',ah,'linewidth',5);

us
From: Ian on
Hi us,
that works great!
Thank you for the easy to follow example :)

"us " <us(a)neurol.unizh.ch> wrote in message <htm12c$rdj$1(a)fred.mathworks.com>...
> "Ian " <isharp2(a)uic.edu> wrote in message <htm0fl$hv2$1(a)fred.mathworks.com>...
> > Hi,
> > I want to make 3 subplots on a plot. Then I would like to highlight data in certain areas by drawing a line that starts inside one subplot and ends in another subplot. Is this possible?
>
> one of the solutions
>
> subplot(2,1,1);
> subplot(2,1,2);
> ah=axes('position',[.2,.2,.6,.6],'visible','off'); % <- select your pos...
> line([.1,.9],[.1,.9],'parent',ah,'linewidth',5);
>
> us