Creates an instance of a curve from the given curve definition.
*Curve()Creates an instance of a curve from the given curve definition. |
|||||
*Curve()Creates an instance of a curve from the given curve definition. |
Syntax |
*Curve(curve_name, "curve_label", curve_def, [arg_1, arg_2,..., arg_n] |
|
Arguments |
Name |
Description |
curve_name |
The variable name of the curve. |
|
"curve_label" |
The descriptive label of the curve. |
|
curve_def |
The curve definition to be used. |
|
arg_1, arg_2, ..., arg_n |
User-defined optional arguments. |
|
Example |
*DefineCurve(crv_def_1, fname, req1, comp1, req2, comp2) *BeginVector(X, File) *Filename(fname) *Datatype("User Defined") *Request(req1) *Component(comp1) *EndVector() • • • *EndDefine() *DefinePlot(plt_def_camber, fname) *BeginAxis(X, "Primary", on) *Label("Camber ( deg )") *EndAxis() *BeginAxis(Y, "Primary", on) *Label("Wheel center disp ( mm )") *EndAxis() *Curve(camber1, "Camber" crv_def_1, fname, "REQ/50000010", "RZ", "REQ/50000000", "Z") *Curve(camber2, "Camber:" + fname, crv_def_1, fname, "REQ/50000010", "RZ", "REQ/50000000", "Z") *EndDefine() |
|
Application |
HyperGraph. |
|
Context |
||
Comments |
All arguments after the third argument are user-defined. In the second *Curve() statement in the example, string addition is used to append the filename to the curve label Camber. |
|
See also |
|
|