First time here? Check out the FAQ!

Ask Your Question
1

connecting plots by lines

asked 7 years ago

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

Preview: (hide)

Comments

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

tmonteil gravatar imagetmonteil ( 7 years ago )

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_ ( 7 years ago )

1 Answer

Sort by » oldest newest most voted
1

answered 7 years ago

ndomes gravatar image

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

Put both plots together with suitable translation and axes.

Preview: (hide)
link

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_ ( 7 years ago )

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: 7 years ago

Seen: 947 times

Last updated: Sep 20 '17