How to move data in Surface?
Posted: Mon Apr 16, 2007 7:43 am
Problem:
I have array [x,y,z]. It is reflection of steel strip in realtime.
x-depth of the screen 300.
y-array of 192 points I receive every 200ms
z- high of these points.
So I have 192 new y,z points every 200ms.
How to set Chart behaviour if need following:
when I add 301 row of y,z points, all data move left, the 1st row must dissapear and I would have a steel strip movie.
I can store my data array and move it in memory and set all chart data every step but it works slowly.
I can solve my problem using two ways. The first is using Surface, the second is using colorgrid in 2D mode displaying z(height) by color.
What should I do to solve the problem. What type of the chart I should use?
Thank you.
P.S. Sorry form my poor English.
I have array [x,y,z]. It is reflection of steel strip in realtime.
x-depth of the screen 300.
y-array of 192 points I receive every 200ms
z- high of these points.
So I have 192 new y,z points every 200ms.
How to set Chart behaviour if need following:
when I add 301 row of y,z points, all data move left, the 1st row must dissapear and I would have a steel strip movie.
I can store my data array and move it in memory and set all chart data every step but it works slowly.
I can solve my problem using two ways. The first is using Surface, the second is using colorgrid in 2D mode displaying z(height) by color.
What should I do to solve the problem. What type of the chart I should use?
Thank you.
P.S. Sorry form my poor English.