MATLAB: Gca function in matlab

gca

I have read the matlab docs but I don't understand what gca really does. Can somebody explain it to me? Thanks!

Best Answer

gca returns the handle to the current axis. - it generates one if there is no current axis.