# connecting plots by lines

There are 2 plots in a graphics_array (e.g. sin and cos). How do I "connect" these plots with connecting lines (e.g. a dashed line at angle=pi)?

connecting plots by lines

1

My suggestion see http://sagecell.sagemath.org/?q=rmiwzc

Put both plots together with suitable translation and axes.

I've already had this solution. Additionally I've constructed with that method the unit circle on the left and sin on the right. But it seems really expensive and much too complex to produce so many lines for such a simple requirement... there must be a better solution :)

Asked: **
2017-09-18 08:21:55 -0500
**

Seen: **102 times**

Last updated: **Sep 20**

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.

Could you please provide a picture (linked from somewhere) of what you try to achieve ?

i want to show 2 different plots (below each other), like in: https://help.scilab.org/docs/5.5.1/fr... and now i want print vertical lines at x=[-pi, 0, pi].

then i want to show the 2 plots next to each other and connect them by horizontal lines at y=[-1,-0.5,0.5,1].

=> reason is to show different function values for same angle in different plots