Add a curve (CurveItem object) to the plot with
the given data points (double arrays) and properties.
This is simplified way to add curves without knowledge of the
CurveList class. An alternative is to use
the CurveList Add() method.
| C# | Visual Basic | Visual C++ |
- label (String)
- The text label (string) for the curve that will be used as a Legend entry.
- x (array<Double>[]())
- An array of double precision X values (the independent values) that define the curve.
- y (array<Double>[]())
- An array of double precision Y values (the dependent values) that define the curve.
- color (Color)
- The color to used for the curve line, symbols, etc.
A CurveItem class for the newly created curve.
This can then be used to access all of the curve properties that
are not defined as arguments to the
AddCurve(String, array<Double>[](), array<Double>[](), Color) method.
