Package PyKF :: Module Plot :: Class PlotFactory
[show private | hide private]
[frames | no frames]

Class PlotFactory

Gnuplot --+
          |
         PlotFactory


Method Summary
  __init__(self, debug)
Class initialization
  histogram(self, data, name, nbins, xlab, ylab, xrange, suffix, discrete, format)
Internal histogram specification for handling nested arrays
  trace(self, data, name, xlab, ylab, suffix, style, format, same_axes)
Internal plotting specification for handling nested arrays
    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
    Inherited from Gnuplot
dict optiontypes = {'polar': 'boolean', 'yrange': 'range', 't...

Method Details

__init__(self, debug=False)
(Constructor)

Class initialization
Overrides:
Gnuplot._Gnuplot.Gnuplot.__init__

histogram(self, data, name, nbins=None, xlab=None, ylab='Frequency', xrange=None, suffix='', discrete=False, format='png')

Internal histogram specification for handling nested arrays

trace(self, data, name, xlab='Iteration', ylab=None, suffix='', style='lines', format='png', same_axes=False)

Internal plotting specification for handling nested arrays

Generated by Epydoc 2.1 on Tue Mar 22 13:16:54 2005 http://epydoc.sf.net