Table of contents Index

Module Gnuplot.oldplot

Declared in module Gnuplot

def demo() # Demonstration.
def plot(*items, **keyw) # Plot data using gnuplot through Gnuplot.
string __cvs_version__ = '$Revision: 2.3 $'
string __file__ = '/home/mhagger/lib/python/Gnuplot/oldplot.pyc'
string __version__ = '1.3'
list _gnuplot_processes = []

Description

This module implements a function plot that can be used to plot array data through the gnuplot program. It is provided for backwards compatibility with Konrad Hinsen's old module. The new object-oriented interface defined in Gnuplot.py has far more features and should be used for new work.

Copyright (C) 1998,1999 Michael Haggerty

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details; it is available at <http://www.fsf.org/copyleft/gpl.html>, or by writing to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

See Gnuplot.py and the README file for more information.

The module can be tested by typing python plot.py.

plot(*items, **keyw)

Plot data using gnuplot through Gnuplot.

This command is roughly compatible with old Gnuplot plot command. It is provided for backwards compatibility with the old functional interface only. It is recommended that you use the new object-oriented Gnuplot interface, which is much more flexible.

It can only plot Numeric array data. In this routine an NxM array is plotted as M-1 separate datasets, using columns 1:2, 1:3, ..., 1:M.

Limitations:


Valid HTML 4.0! Made with CSS