|
From: pban92 <pb...@ya...> - 2011-01-28 18:09:05
|
The code below generates the plot without any secondary axis. However, I am trying to add a secondary x-axis as done in this excel plot ( http://old.nabble.com/file/p30789209/test.xls test.xls ) but could not figure it out and hence this post. Any suggestion would be highly appreciated. This is the text file http://old.nabble.com/file/p30789209/test.txt test.txt . Many thanks. =================================== clear set term postscript eps enhanced "Helvetica" 20 set output "test.eps" set style line 1 lt 1 lw 1 set style line 2 lt 1 lw 3 set style line 3 lt 2 lw 1 set style line 4 lt 2 lw 3 set style line 5 lt 3 lw 1 set style line 6 lt 3 lw 3 set style line 7 lt 4 lw 1 set style line 8 lt 4 lw 3 set style line 9 lt 5 lw 1 set style line 10 lt 5 lw 3 set xrange [0:30] set yrange [0:0.9] unset key plot "test.txt" u 2:1 w l ls 1, \ "test.txt" u 3:1 w l ls 2, \ "test.txt" u 4:1 w l ls 3, \ "test.txt" u 5:1 w l ls 4, \ "test.txt" u 6:1 w l ls 5, \ "test.txt" u 7:1 w l ls 6, \ "test.txt" u 8:1 w l ls 7, \ "test.txt" u 9:1 w l ls 8, \ "test.txt" u 10:1 w l ls 9, \ "test.txt" u 11:1 w l ls 10, \ "test.txt" u 12:1 w l ls 10, \ "test.txt" u 13:1 w l ls 10 -- View this message in context: http://old.nabble.com/How-to-set-secondary-x-axis-similar-to-excel-plot-tp30789209p30789209.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |