Curve

Contents

Name

Curve

Remark

An Origin C Curve is comprised of a Y Dataset and typically (but not necessarily) an associated X Dataset. For example, a data set plotted against row numbers will not have an associated X data set. An Origin C Curve object can easily be plotted using methods of the GraphLayer class. The Curve class is derived from the curvebase, and vectorbase classes from which it inherits methods and properties.

Hierarchy

Examples

EX1

// Assumes Book1_A and Book1_B exist and contain data 
void Curve_ex1()
{
    Dataset ds1("Book1_A"), ds2("Book1_B");
    Curve crvCopy( ds1, ds2 );
    crvCopy.Sort(); // Does not effect ds1, ds2
}

header to Include

origin.h

Reference

Members

Name Brief Example
Attach Attach an Origin C Curve object to an internal Origin Y data set and its associated X data set. Examples
Create Create an internal Origin data set (may or may not be temporary). Examples
Curve Constructor for Curve class. Examples
Destroy Detach the Origin C Dataset object and Destroy (delete) the internal Origin data set. Examples
Detach Detach an Origin C Curve object from internal Origin data sets. Examples