Table of Contents

Module: oldplot Gnuplot/oldplot.py
oldplot.py

Obsolete functional interface to Gnuplot.

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.

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

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

Functions   
demo
plot
  demo 
demo ()

Demonstration.

  plot 
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:

  • If persist is not available, the temporary files are not deleted until final python cleanup.

Exceptions   
DataException( 'Data array must be 1 or 2 dimensional' )


Table of Contents

This document was automatically generated on Fri Jan 26 14:06:11 2001 by HappyDoc version r0_9_2