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.
// Assumes Book1_A and Book1_B exist and contain data
Dataset ds1("Book1_A"), ds2("Book1_B");
Curve crvCopy( ds1, ds2 );
crvCopy.Sort(); // Does not effect ds1, ds2