09-25-2012 02:49 PM
Hi all,
I have a vertical cursor on my scatter graph. My scatter graph contains several plots. Initially, my cursor has associated the largest plot using XYCursor1.Plot = largestPlot. So when moving the vertical cursor I would like to get y-axis point value from all the plots. The problem is that XYCursor1.GetCurrentIndex only returns the index of the plot associated to the vertical cursor, it does not return index of the other plots..... So how can I achieve this?
Thanks.
09-26-2012 01:50 PM
@tonitpp wrote:
Hi all,
I have a vertical cursor on my scatter graph. My scatter graph contains several plots. Initially, my cursor has associated the largest plot using XYCursor1.Plot = largestPlot. So when moving the vertical cursor I would like to get y-axis point value from all the plots. The problem is that XYCursor1.GetCurrentIndex only returns the index of the plot associated to the vertical cursor, it does not return index of the other plots..... So how can I achieve this?
Thanks.
EDIT: What I want is to obtain all the Y data values from all the plots that match with vertical cursor when vertical cursor is moved. The problem is that those plots do not have the same number of points because their data points have been gathered at different sample rates, for example:
plot #1 : its data points have been gathered every 500ms
plot #2 : its data points have been gathered every 3s
and so on for the rest of plots.