billiards

billiards

Post by hahihahi12 » Mon, 07 May 2007 05:58:14


I am currently doing a project about billiards GUI.I would like to
ask what should i do in order to just click anywhere or any position
in the GUI and then the billards would appear in that position??

thanx
 
 
 

billiards

Post by us » Mon, 07 May 2007 08:00:14

hahihahi12345:
<SNIP play-mate of the day...

position...

a hint:

doc axes;
% then, go to the underlined token <axes properties>
% then, peruse the entry <ButtonDownFcn>

us

 
 
 

billiards

Post by hahihahi12 » Mon, 07 May 2007 17:52:51

I knew about the ButtonDownFcn but how do i specified all the
coordinates that when i just simply click on the billiards table and
then the billiard appear in that position??
 
 
 

billiards

Post by roberso » Tue, 08 May 2007 00:26:32

In article < XXXX@XXXXX.COM >,
hahihahi12345 < XXXX@XXXXX.COM > top-posted:

Please post your replies -after- whatever you are replying to.
Otherwise it makes it hard to follow a discussion.







See the documentation on Figure Properties for the property CurrentPoint
That will allow you to determine the X and Y coordinates; you will need
to figure out the Z coordinates somehow.
--
"No one has the right to destroy another person's belief by
demanding empirical evidence." -- Ann Landers