Thread Subject: ball in matlab, how to make objects fall. plz help

Subject: ball in matlab, how to make objects fall. plz help

From: lav

Date: 10 Feb, 2012 02:29:12

Message: 1 of 3

hi,

i have created a ball and i have displayed it in a figure. Now i want the ball to fall , i am not sure how to specify the properties for it to fall. Please suggest me something. Thank you.

Subject: ball in matlab, how to make objects fall. plz help

From: Steven_Lord

Date: 10 Feb, 2012 16:32:07

Message: 2 of 3



"lav " <vijay.easwari@gmail.com> wrote in message
news:jh1vdo$8v3$1@newscl01ah.mathworks.com...
> hi,
> i have created a ball and i have displayed it in a figure. Now i want the
> ball to fall , i am not sure how to specify the properties for it to fall.
> Please suggest me something. Thank you.

There are no Handle Graphics properties that would "make it fall." You will
need to determine the coordinates of the ball as it falls and update the
XData and YData properties of the Handle Graphics object representing your
ball to display it in the new location.

--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

Subject: ball in matlab, how to make objects fall. plz help

From: lav

Date: 13 Feb, 2012 00:59:10

Message: 3 of 3

Thank you. Steve.

"Steven_Lord" <slord@mathworks.com> wrote in message <jh3gq9$at8$1@newscl01ah.mathworks.com>...
>
>
> "lav " <vijay.easwari@gmail.com> wrote in message
> news:jh1vdo$8v3$1@newscl01ah.mathworks.com...
> > hi,
> > i have created a ball and i have displayed it in a figure. Now i want the
> > ball to fall , i am not sure how to specify the properties for it to fall.
> > Please suggest me something. Thank you.
>
> There are no Handle Graphics properties that would "make it fall." You will
> need to determine the coordinates of the ball as it falls and update the
> XData and YData properties of the Handle Graphics object representing your
> ball to display it in the new location.
>
> --
> Steve Lord
> slord@mathworks.com
> To contact Technical Support use the Contact Us link on
> http://www.mathworks.com

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
ball vj 9 Feb, 2012 21:29:14
falling object vj 9 Feb, 2012 21:29:14
rssFeed for this Thread

Contact us at files@mathworks.com