07-27-2005 03:43 AM
07-27-2005 05:10 AM
Supposing you are correctly storing the plot handles in the array and using them on the same graph control, there should be no problem in doing so. Also, check that ATTR_DATA_MODE in the graph control is not set to VAL_DISCARD.
int plotH[6];
plotH[0] = PlotXY (panelHandle, PANEL_GRAPH, x, y1, 100, VAL_DOUBLE,
VAL_DOUBLE, VAL_THIN_LINE, VAL_EMPTY_SQUARE,
VAL_SOLID, 1, VAL_RED);
plotH[1] = PlotXY (panelHandle, PANEL_GRAPH, x, y2, 100, VAL_DOUBLE,
VAL_DOUBLE, VAL_THIN_LINE, VAL_EMPTY_SQUARE,
VAL_SOLID, 1, VAL_BLUE);
plotH[2] = PlotXY (panelHandle, PANEL_GRAPH, x, y3, 100, VAL_DOUBLE,
VAL_DOUBLE, VAL_THIN_LINE, VAL_EMPTY_SQUARE,
VAL_SOLID, 1, VAL_GREEN);
SetPlotAttribute (panelHandle, PANEL_GRAPH, plotH[0], ATTR_PLOT_STYLE,
VAL_FAT_LINE);
07-28-2005 02:19 AM
07-28-2005 11:41 AM
| integer | The point interval at which to draw marker symbols when the curve style is VAL_CONNECTED_POINTS or VAL_SCATTER. The default value is 1 and can be as large as the number of points in the plot. |
07-29-2005 01:07 AM
Hi Travis,
Thanks,
Actually I am looking for pointfrequency attribute something like "ATTR_PLOT_STYLE".
Anyway thanks once again
Gajanan
07-29-2005 02:59 PM
Hello again Gajanan,
I checked around to see if there was an attribute for that, and I did not find
anything that seemed to fit that description. I think the only place to
set the point frequency is when you actually call the plot function. This
is somewhat expected since if you were to change that attribute you would
probably have to redraw the plot anyhow.
Thanks again for posting, and please let me know if we can help you out any
further.
Regards,
Travis
NI