ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 20 Sep 2017 19:26:07 +0200connecting plots by lineshttps://ask.sagemath.org/question/38845/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)?Mon, 18 Sep 2017 15:21:55 +0200https://ask.sagemath.org/question/38845/connecting-plots-by-lines/Comment by tmonteil for <p>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)?</p>
https://ask.sagemath.org/question/38845/connecting-plots-by-lines/?comment=38852#post-id-38852Could you please provide a picture (linked from somewhere) of what you try to achieve ?Tue, 19 Sep 2017 13:00:11 +0200https://ask.sagemath.org/question/38845/connecting-plots-by-lines/?comment=38852#post-id-38852Comment by Chris_ for <p>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)?</p>
https://ask.sagemath.org/question/38845/connecting-plots-by-lines/?comment=38861#post-id-38861i want to show 2 different plots (below each other), like in: https://help.scilab.org/docs/5.5.1/fr_FR/xlabel.html
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 plotsTue, 19 Sep 2017 19:18:39 +0200https://ask.sagemath.org/question/38845/connecting-plots-by-lines/?comment=38861#post-id-38861Answer by ndomes for <p>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)?</p>
https://ask.sagemath.org/question/38845/connecting-plots-by-lines/?answer=38866#post-id-38866My suggestion see [http://sagecell.sagemath.org/?q=rmiwzc](http://sagecell.sagemath.org/?q=rmiwzc)
Put both plots together with suitable translation and axes. Wed, 20 Sep 2017 11:40:48 +0200https://ask.sagemath.org/question/38845/connecting-plots-by-lines/?answer=38866#post-id-38866Comment by Chris_ for <p>My suggestion see <a href="http://sagecell.sagemath.org/?q=rmiwzc">http://sagecell.sagemath.org/?q=rmiwzc</a></p>
<p>Put both plots together with suitable translation and axes. </p>
https://ask.sagemath.org/question/38845/connecting-plots-by-lines/?comment=38876#post-id-38876I'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 :)Wed, 20 Sep 2017 19:26:07 +0200https://ask.sagemath.org/question/38845/connecting-plots-by-lines/?comment=38876#post-id-38876