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
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New to Google Cloud? Get $300 in credits to explore Compute Engine, BigQuery, Cloud Run, Gemini Enterprise Agent Platform, and more.

Start your next project with $300 in free Google Cloud credit. Spin up VMs, run containers, query petabytes in BigQuery, or build agents with Gemini Enterprise Agent Platform. Once your credits are used, keep building with 20+ always-free tier products including Compute Engine, Cloud Storage, GKE, and Cloud Run functions. No commitment required—just sign up and start building.
Claim $300 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