By default, MATLAB functions that create graphics objects display them in the current figure and current axes (if it is an axes child). You can direct the output to ...
www.mathworks.com