% NEXTTILE  Create axes in tiled chart layout.
%   NEXTTILE creates an axes object and places it into the next empty tile 
%   of the tiled chart layout that is in the current figure. If there is no 
%   layout in the current figure, then nexttile creates a new layout and 
%   configures it using the 'flow' tile arrangement. 
% 
%   NEXTTILE(tilelocation) specifies the tile to place the axes into. The
%   tilelocation can either be a numbered tile within the grid in the
%   center of the layout, or it can be one of the tiles around the outside
%   of the grid. The numbered tiles start at 1 and increase from
%   left-to-right and top-to-bottom as you move along the grid. For an
%   outer tile, specify the tilelocation as 'north', 'south', 'east', or
%   'west'. If the specified tile location is occupied by an axes or chart
%   object, nexttile makes that object the current tile.
%
%   NEXTTILE(span) creates an axes object that spans multiple rows or
%   columns of the grid in the center of the layout. Specify span as a
%   vector of the form [rows columns]. The upper-left corner of the axes is
%   positioned in the upper-left corner of the next empty r-by-c region.
%
%   NEXTTILE(tilelocation,span) creates an axes object that spans across
%   multiple rows or columns of the grid. In this case, nexttile places the
%   upper-left corner of the axes in the tile specified by tilelocation.
%
%   nexttile(t,___) places the axes object in the tiled chart layout
%   specified by t. Specify t before all other input arguments. 
%
%   ax = nexttile(___) returns the axes object. 
%
%   See also TILEDLAYOUT.
