05-30-2007 03:34 PM
05-30-2007 04:13 PM
05-30-2007 05:27 PM
06-01-2007 09:35 AM
thanks for your suggestions. I ended up using plotpoint and 2 different colors which seems to be a reasonable solution for now. But would someone please remind me how to put two curves on an XY plot. I can't find it anywhere in the help files, and the examples don't use two curves. I think it has something to do with arrays, but I don't remember the specifics.
Thanks for your help
06-01-2007 10:02 AM
You can add as many plots you want on a graph simply issuing the appropriate PlotXXXXX command. In effect, when you add your points to the graph with PlotPoint you are adding a plot on the grah, which you could individually address to customize or delete if you save the plot handle returned by the function.
In case you have a series of X and Y data you can use PlotXY passing it your arrays and the number of points to plot, and again you can use PlotXY several time to plot different diagrams on your graph.
06-01-2007 11:57 AM
09-06-2007 01:10 PM
09-07-2007 01:31 AM
There is no way to add a point to an existing plot to a graph the same as you do on a strip chart. What you need to do is to delete the existing plot and redraw a new one with the new data. if your acquisition is slow and you do not want to keep global arrays for your data you can retrieve plot data from the graph itself with ATTR_PLOT_XDATA and ATTR_PLOT_YDATA attributes of GetPlotAttribute, next extend the arrays, add new points and redraw the plot.
Howver, this question seems strictly related to this thread so you can look at Luis suggestions on that argument.