SIDAMScalebar([grfName, anchor, fsize, length, fgRGBA, bgRGBA, prefix])

Show a scale bar.

Parameters

grfName : string, default WinName(0,1)
The name of a window.

anchor : string, {“LB”, “LT”, “RB”, or “RT”}
The position of the scale bar. If empty, delete the scale bar.

fsize : int, default 0
The font size (pt).

length : variable, default 0
The length of scale bar in the physical unit. If 0, a nice value is used.

fgRGBA : wave
The foreground color.

bgRGBA : wave
The background color.

prefix: int {0 or !0}, default 1
Set !0 to use a prefix such as k and m.

Updated: