Gnuplot2TightPDF Icon



Python script that produces a tight pdf from gnuplot with psfrag text.

Add a Review
1 Download (This Week)
Last Update:
  Browse Code Git Repository



Gnuplot is a widely known script based free plotting program. 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.

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

Main file:
demo file: demo.plt
demo file; K.plt and K.txt

gpt2pdf demo
gpt2pdf K

The script is written in pure python. It is easy enough for customization.

Gnuplot2TightPDF Web Site

Update Notifications

Write a Review

User Reviews

Be the first to post a review of Gnuplot2TightPDF!

Additional Project Details

Intended Audience

Advanced End Users, Education, Engineering, Science/Research

User Interface


Programming Language



Screenshots can attract more users to your project.
Features can attract more users to your project.

Icons must be PNG, GIF, or JPEG and less than 1 MiB in size. They will be displayed as 48x48 images.