%% Include Superscript and Subscript in Axis Labels
% Use the '^' and '_' characters to include superscripts and subscripts in the axis labels. Use curly braces {} to modify more than one character.

t = linspace(0,1);
y = exp(t);
plot(t,y)
xlabel('t_{seconds}')
ylabel('e^t')

% Copyright 2015 The MathWorks, Inc.