curvebase
The Origin C curvebase class is an abstract base class used for polymorphic handling of Curve related template class types. Consequently, Origin C objects of type curvebase can not be constructed. Derived classes, such as Curve, inherit curvebase class methods and should be used instead. The curvebase class is derived from vectorbase class from which it inherits methods and properties.
EX1
void curvebase_ex1() { Worksheet wks; wks.Create("origin"); Dataset ds1(wks,0); Dataset ds2(wks,1); Curve crvCopy( wks, 0, 1); ds1.Data(1,30,1); ds2.Normal(30); GraphPage gp; gp.Create("Graph1"); GraphLayer gl = gp.Layers(); int nPlot = gl.AddPlot(crvCopy, IDM_PLOT_SCATTER); gl.Rescale(); }
origin.h