how to plot signals on the same scale
조회 수: 1 (최근 30일)
이전 댓글 표시
hi,
i have 3 different excel files that im plotting , however one file that does not have same time scale, but i would like them to plot on the same scale (the red and blue are on the same but not the green one). please help.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1541827/image.jpeg)
댓글 수: 2
madhan ravi
2023년 11월 16일
편집: madhan ravi
2023년 11월 16일
when you mean timescale do you mean capacity? Just out of curiosity , are those from LFP cell (green) and NMC cells (blue and red)?
답변 (1개)
Les Beckham
2023년 11월 16일
For the green one, just subtract the first element of the capacity vector from the entire vector in your plot command.
For example:
plot(capacity_blue, V_blue, capacity_red, V_red, capacity_green - capacity_green(1), V_green)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!