XYPlot.py


USAGE: XYPlot.py archive xChannelName yChannelName [ time ]
   time as "YYYY/MM/DD hh:mm:ss" in 24h format

Function:

Plot two array channels as an X/Y plot.

Allows to move to the previous/next X/Y pair.

Example Snapshot:

xyplot1.gif (23887 bytes)

Details:

The two array channels must have the same length.

An IOC can seldom provide both the X and Y value at exactly the same time, unless specialized code is used to attach the same time stamp to both values before serving them via ChannelAccess.
Therefore this plot tool tries to find an X/Y pair whose time stamps are as close as possible to each other. The time stamps found as well as the difference in seconds ("gap") are displayed.

The tool makes no attempt to determine if the X and Y value actually builds a "pair", instead the user has to look at the gap value and decide if the values found are together "close enough" in time to be considered a valid X-Y pair.