How to overlay two plots created by functions?

1 view (last 30 days)
Anthony
Anthony on 1 Dec 2014
Answered: Adam on 1 Dec 2014
I have a function that randomly generates 9 balls within the parameters of a pool table. I have another function that generates a animated pool table. I need to have the balls randomly generate on the animated pool table. Can any help me out with this.

Answers (1)

Adam
Adam on 1 Dec 2014
hold( hAxes, 'on' )
after plotting the table and before plotting the balls should work unless I'm missing something.

Categories

Find more on Discrete Data Plots in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!