Skip to main content
Help improve PyPI by participating in a 5-minute user interface survey!

A wrapper for the Ygl plotting library.

Project Description

Ygl, developed by Fred Hucht, emulates a significant subset of SGI’s IRIS GL on X11. IRIS GL was a precursor to OpenGL. Ygl is an easy to use library. This package provides a ctypes-based, Python wrapper for Ygl. It also provides a convenient and rather simple plotting interface.

It is perhaps a lot more convenient to use OpenGL via PyOpenGL, however, I am providing this wrapper for legacy support for applications that have used Ygl. I used to provide a SWIG based wrapper but a ctypes based wrapper is a lot easier to build and install.

Installation

You will require to have Ygl installed. Under Debian/Ubuntu, this is easily done by installing libygl4 like so:

$ sudo apt-get install libygl4

If you are not on Debian or Ubuntu you would need to install Ygl from the sources downloadable from the Ygl webpage.

To install the wrapper you should be able to simply do:

$ easy_install ygl

Examples

There are a few sample examples in the examples directory of the source package. These should show you how to use both the ygl module and the yplot module. A simple example of how to use yplot is in examples/plot.py.

Release history Release notifications

This version
History Node

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
ygl-1.0.tar.gz (21.6 kB) Copy SHA256 hash SHA256 Source None Feb 14, 2011

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page