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
Build Securely on Azure with Proven Frameworks Icon
Build Securely on Azure with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
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