| Trees | Index | Help | 
|---|
| Module gwy :: Class GraphCurveModel | 
  | 
GraphCurveModel The ::data-changed signal is emitted whenever curve 
data is set with a function like 
Graph.curve_model_set_data().
| Method Summary | |
|---|---|
Creates a new graph curve model.  | |
Return number of data points within the curve data  | |
get_ranges(x_logscale,
          y_logscale,
          x_min,
          x_max,
          y_min,
          y_max)
 | |
Gets the abscissa range of a graph curve.  | |
Gets pointer to x data points.  | |
Gets the ordinate range of a graph curve.  | |
Gets pointer to y data points.  | |
Creates new graph curve model object that has the same settings as gcmodel. | |
Sets curve model data.  | |
Sets the curve data from DataLine. | |
| Method Details | 
|---|
  __init__()
    
  Creates a new graph curve model.
   | 
  get_ndata()
  | 
  get_x_range(x_min, x_max)Gets the abscissa range of a graph curve. The values are cached in the curve model therefore repeated calls to this function (with unchanged data) are cheap. If there are no data points in the curve,  Graph.curve_model_get_ranges() for a more 
  high-level function.
  
  | 
  get_xdata()Gets pointer to x data points. Data are used within the graph and cannot be freed.
  | 
  get_y_range(y_min, y_max)Gets the ordinate range of a graph curve. The values are cached in the curve model therefore repeated calls to this function (with unchanged data) are cheap. If there are no data points in the curve,  Graph.curve_model_get_ranges() for a more 
  high-level function.
  
  | 
  get_ydata()Gets pointer to y data points. Data are used within the graph and cannot be freed.
  | 
  new_alike()Creates new graph curve model object that has the same settings as 
   
  | 
  set_data(xdata, ydata, n)Sets curve model data.
  | 
  set_data_from_dataline(dline, from_index, to_index)Sets the curve data fromDataLine. The range of 
  import can be modified using parameters from_index 
  and to_index that are interpreted directly as data 
  indices within the DataLine. In the case that 
  from_index == to_index, the 
  full DataLine is used.
  
  | 
| Trees | Index | Help | 
|---|
| Generated by Epydoc 2.1 on Tue Dec 30 04:01:42 2008 | http://epydoc.sf.net |