Is there a reason why you would not just try
RTFM. When you have a question about a MATLAB function, the fastest way to answer the question is by using the existing help. Well written, by professionals.
gca: Get handle to current axis.
I think your real problem is you have no idea how handle graphics works, based on your comments. Again, read the help. The help docs discuss the concept of "Graphics Objects".