Range
Previous  Top  Next

The Range format sets the range settings of the display object. Ranges are used for graphical objects like Bargraph, Stripchart, and Bitmap. For two dimensional items like Bitmap graphs (2D histograms typically), Stripchart both dimensions are used, for Bargraphs, and Scales only the y-dimension is used.

You can change the range settings with the following dialog box:

selectrangedialog

Bargraph
For Bargraph displays the y-dimension determines the minimum and maximum values of the Bargraph. Any values smaller then Min or greater then Max are clipped. When displaying a Bargraph you want to make sure the y range is set properly so the graph displays the range of values of interest.

Stripchart

For the Stripchart displays both dimensions are used. The y-dimension maps the value between the Min and Max limits, the x-dimension determines the time base. For the time base only the difference between Min and Max matters. The unit of the time base is 1sec.

Bitmap

The bitmap display is a 2D display. The one dimensional vector item is mapped into the two dimensional bitmap by means of the x-dimension of the range. Let's assume you want to display a 128 x 64 pixel bitmap the source array item needs to have the dimension of 128*64 = 8192. Now, when you display the item as a bitmap you have to indicate how wide the image is, that is how many pixels one line holds, this is what is specified by the x-range.

The y-range defines the 'intensity'. The y-range is mapped to the color scheme selected. Say your values are in the range 0 - 10 and you want to map those to the full range of colors available you would set the y-range to 0 - 10.