I am currently streaming live data to a DPLOT windows to create a 3DR contour surface (shaded band). My code is somewhat based on example BTEST3. It works well, but as more data is added, the more time it takes to draw the surface.
I think a simple solution for me is to just draw a scatter plot in real-time instead, then convert it to shaded band (add surface) after completion.
I thought I could just replace this line which works fine
Code: Select all
ret = DPlot_AddData(DocNum, DATA_3DR, ptctr, 1, j, Zout(0))
Code: Select all
ret = DPlot_AddData(DocNum, DATA_3DS, ptctr, 1, j, Zout(0))
I am first creating a blank plot with
Code: Select all
DocNum = DPlot_Command(0, "[FileNew(3)]")
Any suggestions?
thanks.