gnuplot has a tikz terminal!
So now you can have a paper with citation links in the figure's keys. Really neat, but too much for most publishers and their publishing software solution.
I use Tikz too for plotting on LaTeX. The result is really nice. By the way, thank you for sharing.