|
From: drgz <sy...@ho...> - 2009-12-13 13:18:25
|
Experiencing a problem when using the "script" below for making a plot. If i change the terminal to epslatex, everything looks exactly as it should look like, but when using the TikZ terminal the key titles behave strangly. To get proper steps between each point I've added an invisible pseudo-dataset (http://old.nabble.com/symbol-points-of-curve-td18112970.html), but I don't know if this is the reason for the key titles to become as they do. Anyone who can point out the error in my *.gp file for making the plot below? The strange thing is that this happens only with this plot. All other plots I've made with the TikZ terminal look as they should, so there's obviously something I do wrong here, but I just can't see what. set key top right reverse Left set key box lc rgb "black" set key samplen 2 spacing 2 set grid set xlabel "Conduction angle, $\\alpha$" set ylabel "Amplitude" set xrange [0:2*pi] set yrange [-0.1:0.6] set xtics ("2$\\pi$" 0, "3$\\pi$/2" pi/2, "$\\pi$" pi, "$\\pi$/2" 3*pi/2, "0" 2*pi) plot "idc.dat" not w l lt 1 lc rgb "#0000ff" lw 2, "idc.dat" ev 400 not w p lt 1 lc rgb "#0000ff" pt 4 ps 1.5, 0/0 t "DC" w lp lt 1 lc rgb "#0000ff" lw 2 pt 4 ps 1.5, \ "in1.dat" not w l lt 1 lc rgb "#ff8c00" lw 2, "in1.dat" ev 400 not w p lt 1 lc rgb "#ff8c00" pt 8 ps 1.5, 0/0 t "1st" w lp lt 1 lc rgb "#ff8c00" lw 2 pt 8 ps 1.5, \ "in2.dat" not w l lt 1 lc rgb "#ff0000" lw 2, "in2.dat" ev 400 not w p lt 1 lc rgb "#ff0000" pt 10 ps 1.5, 0/0 t "2nd" w lp lt 1 lc rgb "#ff0000" lw 2 pt 10 ps 1.5, \ "in3.dat" not w l lt 1 lc rgb "#9400d3" lw 2, "in3.dat" ev 400 not w p lt 1 lc rgb "#9400d3" pt 12 ps 1.5, 0/0 t "3rd" w lp lt 1 lc rgb "#9400d3" lw 2 pt 12 ps 1.5, \ "in4.dat" not w l lt 1 lc rgb "#20b2aa" lw 2, "in4.dat" ev 400 not w p lt 1 lc rgb "#20b2aa" pt 11 ps 1.5, 0/0 t "4th" w lp lt 1 lc rgb "#20b2aa" lw 2 pt 11 ps 1.5, \ "in5.dat" not w l lt 1 lc rgb "#ff1493" lw 2, "in5.dat" ev 400 not w p lt 1 lc rgb "#ff1493" pt 9 ps 1.5, 0/0 t "5th" w lp lt 1 lc rgb "#ff1493" lw 2 pt 9 ps 1.5 http://old.nabble.com/file/p26766030/main.pdf main.pdf -- View this message in context: http://old.nabble.com/Strange-key-title-behavior-when-using-the-TikZ-terminal-tp26766030p26766030.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |