It seems like it might be the best to use datetick
.
Usage: datetick('x')
or datetick('x', dateformat)
with the available formats as explained in the documentation.
More Related Contents:
- How to draw a Histogram in Matlab
- How should I update the data of a plot in Matlab?
- Automatically plot different colored lines
- How to draw an arrow in Matlab?
- How to generate a non-linear colormap/colorbar?
- Change color of 2D plot line depending on 3rd value
- Setting graph figure size
- quiver3 arrow color corresponding to magnitude
- How do I get the handles of all open figures in MATLAB
- Control colorbar scale in MATLAB
- Automatically maximize a figure
- Multiple plots in one figure
- f(x) = 1 for -0.5
- Finding islands of zeros in a sequence
- How can I plot a function with two variables in Octave or Matlab?
- How to select a submatrix (not in any particular pattern) in Matlab
- How to divide an image into blocks in MATLAB?
- Access m-files in a subfolder without permanently adding it to the path
- Example of 10-fold SVM classification in MATLAB
- How can I find the maximum value and its index in array in MATLAB?
- Vectorizing the Notion of Colon (:) – values between two vectors in MATLAB
- Reading CSV files with MATLAB?
- What’s the difference between & and && in MATLAB?
- How can I count the number of elements of a given value in a matrix?
- How do I divide matrix elements by column sums in MATLAB?
- Is it possible in matlab to explicitly format the output numbers?
- Rounding to n significant digits
- Implementing anonymous functions in Fortran
- Customize dbstop in MATLAB
- How to apply a low-pass or high-pass filter to an array in Matlab?