how to plot signals on the same scale
2 次查看(过去 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.
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!