From: lozwell <lo...@ve...> - 2010-02-08 14:14:00
|
I am looking for a way to plot two data files on top of each other. For instance, basically two rectangles on top of each other, both with their own y-axis but sharing the x-axis. Is this possible? FOr example, the following has both red & green sharing the same space, but I'd like the lower half of the graph to show the red & the upper half of the graph to show the green, with a black line seperating the two. Any help appreciated!!! test.dat 1 0.1 2 0.3 3 0.4 4 0.6 5 0.8 test.dat2 1 0.1 2 0.2 3 0.4 4 0.5 5 0.7 gnuplot.conf set terminal png set out "test.png" set xlabel "X-label" set ylabel "Y-label" plot "test.dat" u 1:2 w l, "test.dat2" u 1:2 w l -- View this message in context: http://old.nabble.com/2-graphs-tp27500416p27500416.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |