MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1
View the x-axis limits. Since the duration tick labels are in terms of a single unit
(minutes), the limits are stored in terms of that unit.

xl = xlim

xl = 1x2 duration array
-4.5 sec 184.5 sec

Change the format for the duration tick labels to display in the form of a digital timer that
includes more than one unit. For a list of formatting options, see the xtickformat
function.

xtickformat('mm:ss')

7 Dates and Time

Free download pdf