public plot(x as NDArray<Double>, y as NDArray<Double>, format as String = "", label as String = "", color as String = "", lineWidth as Double = 1.5) as Void
Adds a curve from one-dimensional arrays; inputs are copied.
| Parameter | Description |
|---|---|
x | X coordinates, with the same length as y. |
y | Y coordinates. Non-finite pairs break the line. |
format | Short style, e.g. "r:", "g--", "bo-". |
label | Legend label; empty labels are excluded. |
color | Optional color overriding the format or color cycle. |
lineWidth | Positive stroke width in points at 100 DPI. |