Re: matlab help
- From: dpb <none@xxxxxxx>
- Date: Sun, 04 May 2008 08:21:43 -0500
ImageAnalyst wrote:
On May 3, 6:47 pm, "Adnan " <kbmj8...@xxxxxxxxx> wrote:How can I show an object on a xy coordinate movingfrom one---------------------------------------------------
point to another, during simulation
Adnan:
Are you asking about how to *animate* a line moving from one point to
another in a plot? You can use polyfit and polyval to get
intermediate points and then put in a loop that goes from one point to
the next, erasing and plotting a line each time, with a slight delay
in between each plot of the line. This would give the appearance of
animating a slow movement of a line from one point to another.
Also, could look at the source for the Lorenz attractor demo for implementation ideas...
--
.
- References:
- matlab help
- From: Adnan
- Re: matlab help
- From: ImageAnalyst
- matlab help
- Prev by Date: Re: A few questions about using matlab
- Next by Date: unix('command')
- Previous by thread: Re: matlab help
- Next by thread: Re: DataLocation not in jobmanager ?
- Index(es):
Relevant Pages
|