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
Go From AI Idea to AI App Fast Icon
Go From AI Idea to AI App Fast

One platform to build, fine-tune, and deploy ML models. No MLOps team required.

Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
Try 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