how to use breakaxis for dates ?

8 visualizaciones (últimos 30 días)
pruth
pruth el 22 de Mayo de 2018
Respondida: Walter Roberson el 22 de Mayo de 2018
hi, I found this very useful function breakAxis. In my mat file data is not time series. I have measured data on a date of 5 May 2017 after that directly I have data on 11th of May. when I plot this data against date(x-axis ) it gives me very large empty space in plot between 5th and 11th. here I want to break this x-axis so can have a good visualization of my data. I know breakAxis function should work, but I don't know how to apply it for dates? any idea?

Respuesta aceptada

Walter Roberson
Walter Roberson el 22 de Mayo de 2018
The contribution was designed for hg1.
You will need to switch to serial date numbers for your axis. datetick is probably not compatible so you will probably need to set xticklabels to whatever date string you want.

Más respuestas (0)

Categorías

Más información sobre Dates and Time en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by