Skip to content

gca

Handle to the current axes.

h = gca

Returns a handle to the currently active axes. Used to apply properties to the active axes without explicit handle tracking.

set(gca, 'XScale', 'log')
  • gcf — Handle to the current figure.
  • gcs — Handle to the current sheet.
  • axes — Create or activate axes within a figure.