Gnuplot2TightPDF
Python script that produces a tight pdf from gnuplot with psfrag text.
...This script (gpt2pdf) makes it possible to generate pdf figures with 2D LaTeX maths on top of it by including psfrag replacements directly as comments in the gnuplot file. The resulting pdf file doesn't contain any extra white-spaces around it and as such can be comfortably included in any (pdf)LaTeX file.
Requires:
Python 2.4 - 2.7, LaTeX and the system commands ps2epsi and epstopdf which comes in with any ghostscript installation.
Dr. Shibaji Banerjee
Department of Physics
St. Xavier's College, Kolkata
Included:
Main file: gpt2pdf.py
demo file: demo.plt
demo file; K.plt and K.txt
Usage:
gpt2pdf demo
gpt2pdf K
The script is written in pure python.