Kevin,
Ploting 1Meg of points can take some time, the first thing to try is to set the 3D acceleration option. In the general properties of the graph there is checkbox to enable this; this will make the 3D graph use the HW 3D capabilities of you video card. In my couputer make a noticable difference. Besides from this there are a couple of advices that I can suggest:
1.-Insted of using zeros for the points that are not drawn, you can use a "Not a Number" (NaN) value. that way the 3D graph will not plot anything for the empty points. Here is some C code yo generate a NaN constant, you can replicate this in VB and have the graph plot just what is needed.
double xTemp=0.0;
xTemp/=xTemp;
z[10][10] = xTemp;
2.- diide your data in mult
iple plots. Instead of having one single plot with all the data, you can create 8 plots of 128 lines each to hold the data. That way you only redraw 1 plot when adding a line.
There is also the option of decimating the array to get a lower number of points with a lower resolution, then you have some sort of zoom option that draws a smaller data set with full resolution.
I hope this helps.
Regards,
Juan Carlos
N.I.