Modeling Guide

Histogram Plotter

The Histogram Plotter operator receives a string-converted Data Pipeline message as input with an array of integers in the body and rangeMin and rangeMax fields in the header.

Configuration Parameters

It then generates a vertical bar plot with one bar corresponding to each position in the received array. The rangeMin and rangeMax fields are used to make the tick marks in the x axis. There are two y axis. The left y axis represents values of the array as percentages (position i: 100*array[i]/sum(array)). The right y axis shows the actual value in the array. Both y axis have 10 tick marks.

None

Input

Input

Type

Description

in1

string

A string-converted Data Pipeline message with an array of integers in the body. The array should be formatted as a JSON array. The header should contain the fields rangeMin and rangeMax. Use the toStringConverter operator to convert the output of the Histogram Operator to give the correct format for this operator input.

Output

None