This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Author: Ben Schneider

Requires:

Gnuplot

numpy

Installation:

pip install PyGnuplot
  • Upgrade:
pip install --upgrade  PyGnuplot

Functions:

c(command)

pipe a command to gnuplot as if in gnuplot command promt
c('plot sin(x)')

s(data, filename=’tmp.dat’)

save arrays into file easily read by Gnuplot
s([X,Y,Z])  # creates tmp.dat
c('plot "tmp.dat" u 1:2')

plot(data)

Plot some data. Saves data into tmp.dat and then sends plot instructions to Gnuplot
plot([x,y])

figure(number=None, term=’x11’)

Create a new or update a figure
figure(1)

p(filename=’tmp.ps’, width=14, height=9, fontsize=12, term=’x11’)

Create postscript file (overwrites existing)
p('myfile.ps')

pdf(filename=’tmp.pdf’, width=14, height=9, fontsize=12, term=’x11’)

Create a pdf file (overwrites existing)
pdf('myfile.pdf')  # creates 'myfile.pdf'

Examples:

  • 1 Example code
import PyGnuplot as gp
import numpy as np
X = np.arange(10)
Y = np.sin(X/(2*np.pi))
Z = Y**2.0
gp.s([X,Y,Z])
gp.c('plot "tmp.dat" u 1:2 w lp)
gp.c('replot "tmp.dat" u 1:3' w lp)
gp.p('myfigure.ps')
  • 2 Example file
python example.py
Release History

Release History

0.9

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.8

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
PyGnuplot-0.9.tar.gz (3.2 kB) Copy SHA256 Checksum SHA256 Source Aug 8, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting