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

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free 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

Science/Research, Education, Advanced End Users, Engineering

User Interface

Command-line

Programming Language

Python

Related Categories

Python Scientific Engineering

Registered

2012-10-28