From: Adam Hartshorne on 17 Feb 2010 01:14 I have a set of 3d points, which I display in a figure using plot3 in the standard way. Basically I am wanting to animate the movement of the 3d points over time, as and when the position of a point changes. Obviously I could just do a complete redraw of all the points, but I would guess there is a far more efficient way of doing this in Matlab. Any help much appreciated, Adam
From: Walter Roberson on 17 Feb 2010 11:48 Adam Hartshorne wrote: > I have a set of 3d points, which I display in a figure using plot3 in > the standard way. Basically I am wanting to animate the movement of the > 3d points over time, as and when the position of a point changes. > Obviously I could just do a complete redraw of all the points, but I > would guess there is a far more efficient way of doing this in Matlab. If only some of the points move, then you could break your data up between multiple plot3() statements, and then set() the Xdata, Ydata, and Zdata properties only for the handles that have changed points.
|
Pages: 1 Prev: Finding the slope and y intercept of lsline Next: Animating a set of 3d points? |