Loading

LABELS


gts
Since v1.0.0
Available on all platforms
See also

The LABELS function consumes a GTS from the stack, extracts its labels, puts them in a map and pushes the map onto the stack.

Signature

Examples

NEWGTS 'test name' RENAME { 'label0' '42' 'label1' 'foo' } RELABEL 100 48.4313071 -4.4513631 25100 10 ADDVALUE 200 48.4313072 -4.4513632 25200 9 ADDVALUE 300 48.4313073 -4.4513633 25300 8 ADDVALUE // Extract the ticks with the LABELS funtion, put them in a list and push it onto the stack LABELS