• Active Topics 

Install Gnuplot.py on Unix

Post Reply
User avatar
Eli
Senior Expert Member
Reactions: 183
Posts: 5214
Joined: 9 years ago
Location: Tanzania
Has thanked: 75 times
Been thanked: 88 times
Contact:

#1

Gnuplot.py is a Python package that interfaces to Gnuplot, the popular open-source plotting program. It allows you to use Gnuplot from within Python to plot arrays of data from memory, data files, or mathematical functions, read more.

1. Download gnuplot-py-1.8.tar.gz or gnuplot-py-1.8.zip from here

2. Extract the archive to a temporary directory by typing

Code: Select all

tar -xzvf gnuplot-py-1.8.tar.gz 
or for zip folder using

Code: Select all

unzip file.zip -d destination_folder
If the unzip command isn't already installed on your system, then run:

Code: Select all

sudo apt-get install unzip
3. Move to the directory gnuplot-py-1.8 and Install by typing

Code: Select all

python setup.py install
while still in the same directory, test Gnuplot.py by typing

Code: Select all

python demo.py
You should see something like this
Gnuplot-py.png
See also how to call gnuplot from python.
0
TSSFL -- A Creative Journey Towards Infinite Possibilities!
Post Reply

Return to “Gnuplot, Maxima/XMaxima”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 0 guests