%% Change Tick Values for x-Axis with Durations
% Create a plot with duration values along the x-axis. Then, change the duration values where the tick marks are located.

t = minutes(0:.5:3);
y = rand(1,7);
plot(t,y)

%

ticks = minutes(0:.25:3);
xticks(ticks)

% Copyright 2012 The MathWorks, Inc.