01-05-2020 11:11 PM
how to get a particular value(plot range i.e x,y axis ) from the plot after plotting the value and what command is used in cvi to get the particular value.
01-06-2020 05:43 PM - edited 01-06-2020 05:45 PM
Are you trying to get the X and Y arrays out of a plot? If so, you can call GetPlotAttribute with ATTR_PLOT_XDATA and ATTR_PLOT_YDATA attributes. Max and min values can be derived from the arrays.
01-06-2020 10:44 PM
I need examples for attr_plot_ydata and plotxy in cvi
01-07-2020 03:52 AM
CVI offers a valuable function for searching among the examples installed in the system: the Example Finder can be launched with Help >> Find Examples... menu function. Searching for "plot" will return a series of examples that you can look at to understand how to perform several functions in CVI.
Specifically, GraphZooming.cws example shows how to use ATTR_PLOT_ZDATA_SIZE and ATTR_PLOT_ZDATA to retrieve values from a graph: this can be easily modified to work on X and Y axes.