text
result = text(x, y, text)
Input: x, y, text · Output: result
What it is
Plain text label text (string) placed at (x, y) (numbers, data units), no marker dot.
Overloads
One call shape — this function is not overloaded.
| Code | Input | Output | Description |
result = text(x, y, text) | x string or numbernot documented yety string or numbernot documented yettext string or numbernot documented yet | result — | Returns a handle with color/text/x/y/size/italic properties. |
Examples
From the documentation, and run by the build -- the output and the figure below are what the engine actually produced. Simplest first.
lab = text(120, 5.35, "6 dB = 1 bit", color = "#0E7C86")
rule = hline(6, dash = true, width = 1.4)
rule.color = lab.color # one ink, stated once
print(rule.color) # "#0e7c86" -- the rule really did pick up the label's colour
output
#0e7c86
from plotting