Skip to content

nexttile

plot · scripts/plot/util/nexttile.m

: ax = nexttile ()
: ax = nexttile (span)
: ax = nexttile (tilelocation)
: ax = nexttile (tilelocation, span)
: ax = nexttile (t, …)

Activate the next (or specified) tile of the current tiledlayout.

span is a two-element vector [r c] (row or column input accepted). The axes Layout.TileSpan property is always a 1-by-2 row vector, matching MATLAB R2023a+.