How to get a dynamic axes?

4 views (last 30 days)
Biza Ferreira
Biza Ferreira on 14 Aug 2022
Commented: Biza Ferreira on 14 Aug 2022
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 Comments
dpb
dpb on 14 Aug 2022
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 on 14 Aug 2022
Can you show me a simple example?
Thanks in advance.

Sign in to comment.

Answers (0)

Categories

Find more on Specifying Target for Graphics Output in Help Center and File Exchange

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!