Example: Scaled Plots

Measurement Studio User Interface

Example: Scaled Plots

Demonstrates the scaling parameters of the PlotY method on the CWGraph object.

Description

The PlotY method on the graph and plot objects optionally allows you to specify the initial value and the increment of the x data used to create the plot. You should use these parameters to plot your y data against the correct x data. For example, consider you are collecting 1000 temperatures at a rate of 10 kHz. To correctly plot the data, the x increment should be 1/10kHz, or .0001. As another example, consider a set of hourly temperatures collected every half hour beginning at 12 noon. In this case the initial x value should be 12 and the x increment should be .5. If you do not use these parameters, PlotY will assume an initial x value of 1 and an x increment of 1.

Example Location

Samples\UI\Graph\Scaled Plots