*SetCurve() - Cartesian 2D
Sets the values associated with a 2D Cartesian curve.
Syntax
*SetCurve(crv_name, Block-X,Block-Y ,LIN_EXTRAP)
      FILE: "[path]/filename", datatype, request, component
MATH: expr
VALUE: numpts, v1, v2, v3, ..., vnArguments
- crv_name
 - The variable name of an existing curve of type Cartesian 2D.
 - FILE
 - Indicates that the data for the X or Y component of the curve comes from a file.
 - "[path]/filename"
 - Filename for the X or Y component of the curve.
 - datatype
 - Specifies the type of data from a data file for the X or Y component of the curve.
 - request
 - Specifies a request from a data file for the X or Y component of the curve.
 - component
 - Specifies a component of a request from a data file for the X or Y component of the curve.
 - MATH
 - Indicates that the X or Y component of the curve is an expression.
 - expr
 - A mathematical expression for the X or Y component of the curve.
 - VALUE
 - Indicates that the data for the X or Y component of the curve is specified as discrete values.
 - numpts
 - An integer that indicates the number of points in the X or Y component of the curve.
 - v1, v2, v3,..., vn
 - Discrete values for the X or Y component of the curve.
 - LIN_EXTRAP
 - Flags the solver to linearly extrapolate beyond the final point in the curve.
 
Example
*SetCurve(crv_1, VALUE, 3, 10.2, 13.4, 15.7, MATH, 1:3:1)
*SetCurve(crv_1, MATH, 1:10:1, FILE, "c:/models/crv_data.dat", "Unknown", "Block 1", "Column 1", LIN_EXTRAP )
    Context
Comments
The X and Y components of a curve can be of different types. For example, the X component can be a mathematical expression while the Y component can refer to a plot file.
The length of each vector of curve data must be the same.