12.07.2015 Views

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

gcaPurpose2gcaGet current axes handleSyntaxDescriptionh = gcah = gca returns the handle to the current axes for the current figure. If no axesexists, <strong>MATLAB</strong> creates one and returns its handle. You can use the statementget(gcf,'CurrentAxes')if you do not want <strong>MATLAB</strong> to create an axes if one does not already exist.The current axes is the target for graphics output when you create axeschildren. <strong>Graphics</strong> commands such as plot, text, and surf draw their resultsin the current axes. Changing the current figure also changes the current axes.See Alsoaxes, cla, delete, gcf, gcbo, gco, hold, subplot, findobjfigure CurrentAxes property2-204

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!