I have two two-by-n arrays representing 2d points. These two arrays are built on the same figure, but in two different subtitles. For each point in one of the arrays there is a corresponding point I of another array. I want to show this correspondence by drawing a line from one of the subheadings to another subplot.
The solutions I found are something like:
ah=axes('position',[.2,.2,.6,.6],'visible','off'); % <- select your pos... line([.1,.9],[.1,.9],'parent',ah,'linewidth',5);
This displays the line in the coordinate system defined by the axis call. For this to work for me, I need a way to change the coordinate system between the subtitle system and the new system. Does anyone know how to do this?
Perhaps there is another way to do this. If so, I would like to know.
matlab
PKeno
source share