How to get a dynamic axes?

4 次查看(过去 30 天)
Biza Ferreira
Biza Ferreira 2022-8-14
Hello friends,
I have a huge problem and a need some help to solve it.
I built a irrigation system, where i colect data humidity and temperature to store it in sdCard with a"*.raw" file system. To analize this data and propose a good usability to the user I made in MATLAB a app designer program.
My bigest issue is see the the behavior of colected data. The data for analize is stored for a week in SDcard, with acquisitions between 10 to 10 minutes. So I need slide the axes to avaliate the behavior over the time. How can I creat a dinamic axes ?To act like timeline where i can slide to time that i intend.
  2 个评论
dpb
dpb 2022-8-14
With a datetime variable for the time axis, plot routiines will autoscale to the range of data plotted with selected "pretty" ticks/labels for starters.
To control the range, set the xlim property -- you could use callbacks on mouse clicks or add user controls or...
Biza Ferreira
Biza Ferreira 2022-8-14
Can you show me a simple example?
Thanks in advance.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by