How do I plot if I have a lot of data on the x-axis and I want to see the whole line properly in app designer?
조회 수: 2 (최근 30일)
이전 댓글 표시
I want to plot data from the three axes of acceleration against time, but the time captured was one hour and data was captured for 20 milliseconds. Therefore, I have 195000 data for each axis and when I graph the lines are distorted. How can I see all the lines correctly?
Is it possible to view a part first and then drag it to the right to get a good view of each value?
The code I use to plot is this:
plot(app.Grafico_Acc,T_Aceleracion,Ax,T_Aceleracion,Ay,T_Aceleracion,Az);
Thanks in advance.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/745394/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/745394/image.png)
댓글 수: 0
답변 (1개)
Sargondjani
2021년 9월 21일
It is not clear what you mean with "How can I see all the lines correctly?"
I'm sure the lines are correct, but your input is not what you want ;-)
My guess, you want to zoom in at the periods where the acceleration changes. You will have to program something to select the intervals where the changes in the acceleration are larger than a cetrain treshhold.
참고 항목
카테고리
Help Center 및 File Exchange에서 Specifying Target for Graphics Output에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!