09-02-2003 11:09 AM
09-02-2003 11:25 AM
08-10-2011 03:34 PM
Hello, I have a similar problem. My development environment is Visual Studio 2010 where I am trying to display 3 different scatter points in different plots. From the ActiveX Control property I have defined several plots for point plot style (different in shape and colors). Now I am struggling to specify a plot for a series.
// Three point coordinates I need to display
CCWSafeArray vDataX0(&S[0][0], 1);
CCWSafeArray vDataY0(&S[0][1], 1);
CCWSafeArray vDataZ0(&S[0][2], 1);
CCWSafeArray vDataX2(&S[1][0], 1);
CCWSafeArray vDataY2(&S[1][1], 1);
CCWSafeArray vDataZ2(&S[1][2], 1);
CCWSafeArray vDataX4(&S[3][0], 1);
CCWSafeArray vDataY4(&S[3][1], 1);
CCWSafeArray vDataZ4(&S[3][2], 1);
......................
m_plot.Plot3DCurve(vDataX2, vDataY2, vDataZ2, vOptional);
Suppose, I want to use "Prb" plot (defined via control property) for the data above, how do I do that?
Even, "int count = m_plot.GetPlots().GetCount();" showing me the corrent number of plots I have defined in the control.
Best regards.