Making the x axis of a graph move as time goes on and new values enter.
We have a flow rate sensor that we were able to connect to an arduino and then get live updates of the flowrate through matlab. However, the experiments we run last several hours and the graph updates to show the new info and keeps the old which then makes it all very small and you can’t see the changes that occur. We would like to have about a 3 minute window frame of the graph at all times that moves with the updating data. Then at the end once the experiment is finished we would like to see the whole graph. Thank you for any help.
Here is a picture of the code so far.We have a flow rate sensor that we were able to connect to an arduino and then get live updates of the flowrate through matlab. However, the experiments we run last several hours and the graph updates to show the new info and keeps the old which then makes it all very small and you can’t see the changes that occur. We would like to have about a 3 minute window frame of the graph at all times that moves with the updating data. Then at the end once the experiment is finished we would like to see the whole graph. Thank you for any help.
Here is a picture of the code so far. We have a flow rate sensor that we were able to connect to an arduino and then get live updates of the flowrate through matlab. However, the experiments we run last several hours and the graph updates to show the new info and keeps the old which then makes it all very small and you can’t see the changes that occur. We would like to have about a 3 minute window frame of the graph at all times that moves with the updating data. Then at the end once the experiment is finished we would like to see the whole graph. Thank you for any help.
Here is a picture of the code so far. graph, axis, data, arduino MATLAB Answers — New Questions