| Trees | Index | Help | 
|---|
| Module gwy :: Class GraphModel | 
  | 
GraphModel The ::curve-data-changed signal is emitted whenever any of 
the curves in a graph model emits 
GObject::notify.
('gwygraphmodel', ' The #GwyGraphModel which received the signal. ')
('arg1', ' The index of the changed curve in the model. ')
('arg2', ' The #GParamSpec of the property that has changed. ')| Method Summary | |
|---|---|
Creates a new graph model.  | |
Adds a new curve to a graph model.  | |
Gets the label of a one graph model axis.  | |
Gets a graph model curve by its index.  | |
Return the first curve that has description (label) given by description (no reference is added). | |
Finds the index of a graph model curve.  | |
Return number of curves in graph model.  | |
Gets the log-scale suitable range minima of a graph curve.  | |
Gets the abscissa range of a graph.  | |
Gets the ordinate range of a graph.  | |
Creates new graph model object that has the same settings as gmodel. | |
Removes all the curves from graph model  | |
Removes the curve having given index.  | |
Removes all the curves having same description string as description. | |
Sets one axis label of a graph model.  | |
Sets x and y graph model units to match a data line.  | |
Exports a graph model data to a file.  | |
Checks whehter x axis can be lograrithmed.  | |
Checks whehter y axis can be lograrithmed.  | |
| Method Details | 
|---|
  __init__()
    
  Creates a new graph model.
   | 
  add_curve(curve)Adds a new curve to a graph model.
  | 
  get_axis_label(pos)Gets the label of a one graph model axis.
  | 
  get_curve(cindex)Gets a graph model curve by its index.
  | 
  get_curve_by_description(description)
  | 
  get_curve_index(curve)Finds the index of a graph model curve.
  | 
  get_n_curves()
  | 
  get_ranges(x_logscale, y_logscale, x_min, x_max, y_min, y_max)Gets the log-scale suitable range minima of a graph curve. SeeGraph.curve_model_get_ranges() for discussion.
  
  | 
  get_x_range(x_min, x_max)Gets the abscissa range of a graph. Explicitly set minimum and maximum range properties take precedence over values calculated from curve abscissa ranges.
  | 
  get_y_range(y_min, y_max)Gets the ordinate range of a graph. Explicitly set minimum and maximum range properties take precedence over values calculated from curve ordinate ranges.
  | 
  new_alike()Creates new graph model object that has the same settings as 
   
  | 
  remove_all_curves()Removes all the curves from graph model | 
  remove_curve(cindex)Removes the curve having given index.
  | 
  remove_curve_by_description(description)Removes all the curves having same description string asdescription.
  
  | 
  set_axis_label(pos, label)Sets one axis label of a graph model.
  | 
  set_units_from_data_line(data_line)Sets x and y graph model units to match a data line.
  | 
  UNIMPLEMENTED_export_ascii(export_units, export_labels, export_metadata, export_style, string)Exports a graph model data to a file. The export format is specified by parameterexport_style.
  
  | 
  x_data_can_be_logarithmed()Checks whehter x axis can be lograrithmed.
  | 
  y_data_can_be_logarithmed()Checks whehter y axis can be lograrithmed.
  | 
| Trees | Index | Help | 
|---|
| Generated by Epydoc 2.1 on Tue Dec 30 04:01:42 2008 | http://epydoc.sf.net |