Hello,
You can build your x, y, and z arrays one point at a time, and plot the "new" array at each iteration of your loop - this is generally how to get a Graph to behave like a Chart (which natively keeps a buffer of points as you write data to it). Perhaps you can tolerate plotting a few points at a time so you don't have to cause the graph update so frequently, but you can give it a shot and see how it performs. If you can upper bound the number points you'll be writing, you can preallocate the arrays using the Initialize Array function and then use Replace Array Subset (to basically add your new points each iteration), instead of using build array inside a loop to append new points - the build array function will cause array reallocations and can slow performance. I suppose in this case you don't want to display the data which is the default sitting in the arrays before your true data is there, so perhaps you make the default value for the predefined arrays be something which is outside of the scale you will use to show your acceleration values. You can always go back to the build array function if this is an issue.
Best Regards,
JLS