Package PyFoam :: Package Basics :: Module GnuplotTimelines :: Class GnuplotTimelines
[show private | hide private]
[frames | no frames]

Class GnuplotTimelines

Gnuplot --+
          |
         GnuplotTimelines


This class opens a gnuplot window and plots a timelines-collection in it
Method Summary
  __init__(self, timelines, persist, with, alternateAxis)
  redo(self)
Replot the timelines
    Inherited from Gnuplot
  __call__(self, s)
Send a command string to gnuplot.
  _add_to_queue(self, items)
Add a list of items to the itemlist (but don't plot them).
  _clear_queue(self)
Clear the 'PlotItems' from the queue.
  clear(self)
Clear the plot window (without affecting the current itemlist).
  hardcopy(self, filename, terminal, **keyw)
Create a hardcopy of the current plot.
  interact(self)
Allow user to type arbitrary commands to gnuplot.
  load(self, filename)
Load a file using gnuplot's 'load' command.
  plot(self, *items, **keyw)
Draw a new plot.
  refresh(self)
Refresh the plot, using the current 'PlotItem's.
  replot(self, *items, **keyw)
Replot the data, possibly adding new 'PlotItem's.
  reset(self)
Reset all gnuplot settings to their defaults and clear itemlist.
  save(self, filename)
Save the current plot commands using gnuplot's 'save' command.
  set(self, **keyw)
Set one or more settings at once from keyword arguments.
  set_boolean(self, option, value)
Set an on/off option.
  set_label(self, option, s, offset, font)
Set or clear a label option, which can include an offset or font.
  set_range(self, option, value)
Set a range option (xrange, yrange, trange, urange, etc.).
  set_string(self, option, s)
Set a string option, or if s is omitted, unset the option.
  splot(self, *items, **keyw)
Draw a new three-dimensional plot.
  title(self, s, offset, font)
Set the plot's title.
  xlabel(self, s, offset, font)
Set the plot's xlabel.
  ylabel(self, s, offset, font)
Set the plot's ylabel.

Class Variable Summary
int terminalNr = 1                                                                     
    Inherited from Gnuplot
dict optiontypes = {'polar': 'boolean', 'yrange': 'range', 't...

Method Details

__init__(self, timelines, persist=None, with='lines', alternateAxis=[])
(Constructor)

Parameters:
timelines - The timelines object
           (type=TimeLineCollection)
persist - Gnuplot window persistst after run
with - how to plot the data (lines, points, steps)
alternateAxis - list with names that ought to appear on the alternate y-axis
Overrides:
Gnuplot._Gnuplot.Gnuplot.__init__

redo(self)

Replot the timelines

Class Variable Details

terminalNr

Type:
int
Value:
1                                                                     

Generated by Epydoc 2.1 on Mon Jan 22 23:52:48 2007 http://epydoc.sf.net