Re: matlab help
- From: ImageAnalyst <imageanalyst@xxxxxxxxxxxxxx>
- Date: Sat, 3 May 2008 19:54:02 -0700 (PDT)
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.
Regards,
ImageAnalyst
.
- Follow-Ups:
- Re: matlab help
- From: dpb
- Re: matlab help
- From: matt dash
- Re: matlab help
- References:
- matlab help
- From: Adnan
- matlab help
- Prev by Date: Re: unnecessary pixels in edge detecting
- Next by Date: Pushbutton of Gui
- Previous by thread: matlab help
- Next by thread: Re: matlab help
- Index(es):
Relevant Pages
|