why my 6th graph is horizontal lines? in the 'Martin_CompareElectricCar' Very urgent!!
1 view (last 30 days)
Show older comments
In Martin_ElectricCar1.m Martin_ElectricCar2.m Daniel_ElectricCar.m ,after running program they have downward's slope in 'Remaining Battery Energy VS Time' graph(6th) However after combining them, the graph they become horizontal thanks!!
0 Comments
Accepted Answer
Voss
on 24 Jul 2022
Each "Remaining Battery Energy" is on a different scale:
% ~100
Daniel_ElectricCar
% ~82-84
Martin_ElectricCar1
% ~20-22
Martin_ElectricCar2
So when you plot them together on the same scale, they each look flat (i.e., Nothing is Wrong!!):
% ~0-100
Martin_CompareElectricCar
3 Comments
More Answers (0)
See Also
Categories
Find more on Animation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!