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.

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. It is easy enough for customization.

Project Samples

Project Activity

See All Activity >

License

Creative Commons Attribution License

Follow Gnuplot2TightPDF

Gnuplot2TightPDF Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

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

Command-line

Programming Language

Python

Related Categories

Python Scientific Engineering

Registered

2012-10-28