1 * What is this package?
3 PyChart is a Python library for creating professional quality PS, PDF,
4 PNG, or SVG charts. It supports line plots, bar plots, range-fill
5 plots, and pie charts. Because it is based on Python, you can make
6 the full use of Python's scripting power.
8 The PyChart home page is at
9 http://www.hpl.hp.com/personal/Yasushi_Saito/pychart
13 You need Python (http://www.python.org) version 2.2 or later (on
14 Debian GNU/Linux, you need, python-xml package as well). You also need
15 Ghostscript (http://www.cs.wisc.edu/~ghost/) to produce PNG
18 Pychart used to require Ghostscript during PS and PDF
19 generation to obtain font metric information, but that's no
24 In theory, PyChart works on any platform with Python. In practice,
25 I've run PyChart on Linux and Win2000.
31 # python setup.py install
33 Or, you can set PYTHONPATH environment variable before you start
34 Python. For example (in bash):
36 % PYTHONPATH=~/PyChart-1.33/pychart python mumbo.py
40 A detailed documentation is found in doc/pychart.
44 All the *.py files in the demos/ directory can be run directly. For
48 python linetest.py >foo.eps
54 setenv PYCHART_OPTIONS="format=pdf"
55 python linetest.py >foo.pdf
60 Yasushi Saito (ysaito@hpl.hp.com), a full-time researcher and
61 part-time hacker. This program is created mainly to serve my personal
62 needs to write pretty charts for research papers. As such, it is
63 updated only when I'm writing a paper, which happens about once every
66 Anyway, if you have comments, requests, or (even better)
67 fixes/enhancements, feel free to email me.