> I'm trying to plot two graphs stacked on top of each other
> (with multiplot) and then to connect them with lines. Is there
> any way to do it using arrows?
arrow from 0,0 in the lower plot to 0,0 in the upper plot:
gnuplot> unset arrow
gnuplot> set multiplot layout 2,1
multiplot> plot sin(x)
multiplot> set arrow 1 from first 0,0 to first 0, screen 0.75
multiplot> plot cos(x)
multiplot> unset multiplot
or (better):
gnuplot> unset arrow
gnuplot> set multiplot layout 2,1
multiplot> set arrow 1 from first 0, screen 0.5 to first 0,0
multiplot> plot sin(x)
multiplot> set arrow 1 from first 0,0 to first 0, screen 0.5 nohead
multiplot> plot cos(x)
multiplot> unset multiplot
--
View this message in context: http://www.nabble.com/arrows-in-a-multiplot-tp19131577p19140864.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|