Back to Plotting
text
Place text at coordinates on the plot.
Syntax
text(x, y, str) → Nothing
Backends
TypeScript
Description
Place text at coordinates on the plot.
Parameters
| Name | Description |
|---|---|
| x | X position |
| y | Y position |
| str | Text to place |
Returns
Nothing
Examples
Try It
>> text(1.0, 2.0, "peak")