Skip to main content

signaloid-cli plot ux-string

Generate a plot from distributional data.

Synopsis​

signaloid-cli plot ux-string [options]

Description​

The ux-string command generates visualizations from Ux Strings.

Options​

OptionDescription
--out <directory>Directory to save file
--out-file <path/filename>Path and filename for the output file (only valid with --ux-string)
--file <json>Path to a JSON file whose Payload field is a Ux string, for example {"Payload": "1.0Ux..."}
--ux-string <ux-string>Ux String to plot
--x-axis-label <label>Label under the x-axis, from 1 to 20 characters. Text between $ signs is drawn as math, as in '$\mu$ (s)', and \$ gives a literal dollar sign.
--x-lim-min <n>, --x-lim-max <n>Range of the x-axis. Set both, with the minimum below the maximum.
--y-lim-min <n>, --y-lim-max <n>Range of the y-axis. Set both, with the minimum below the maximum.

The plot image is saved as <PlotID>.png, where PlotID comes from the API's response, unless --out-file names the file.

Examples​

Generate Plot from Ux String​

signaloid-cli plot ux-string \
--ux-string "Ux0100000000000000..." \
--out distributions/

Set the Axis Label and Range​

signaloid-cli plot ux-string \
--ux-string "Ux0100000000000000..." \
--x-axis-label 'Time (s)' \
--x-lim-min 0 --x-lim-max 10

See Also​