Setting x axis to 8 hours

2 visualizaciones (últimos 30 días)
John Lamport
John Lamport el 31 de Mzo. de 2023
Respondida: Christopher Stapels el 7 de Abr. de 2023
I'm using the chart field for temperature display and I want to show the readings over the last 8 hours. I sample my reading every 15 minutes. I've adjusted the timescale. average and medium settings and they all show my data bunched up at the end of the chart, the time scale on the x-axis shows a month of data. on the x-axis it has from Feb 20 to Mar 20. here's what it looks like:
How do I set it for the last 8 hours?
Thanks
John

Respuestas (1)

Christopher Stapels
Christopher Stapels el 7 de Abr. de 2023
I would consider creating a custon MATLAB visualization where you can fix the x axis use xlim( [ begin end]). Alternatively, you can use the charts API to make a chart with a set time range using srtart and end. I think the chart will autoscale to your data though.

Comunidades de usuarios

Más respuestas en  ThingSpeak Community

Categorías

Más información sobre ThingSpeak 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