Ask Your Question
1

connecting plots by lines

asked 2017-09-18 15:22:29 +0100

Chris_ gravatar image

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)?

edit retag flag offensive close merge delete

Comments

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

tmonteil gravatar imagetmonteil ( 2017-09-19 13:00:11 +0100 )edit

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

Chris_ gravatar imageChris_ ( 2017-09-19 19:18:39 +0100 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-09-20 11:40:48 +0100

ndomes gravatar image

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

Put both plots together with suitable translation and axes.

edit flag offensive delete link more

Comments

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 :)

Chris_ gravatar imageChris_ ( 2017-09-20 19:26:07 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2017-09-18 15:21:55 +0100

Seen: 767 times

Last updated: Sep 20 '17