update FT24 presets
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
function [sidebarLabel] = sidebar_stats(pltData)
|
||||
function [sidebarLabel] = sidebar_stats(stats)
|
||||
%SIDEBAR_STATS Summary of this function goes here
|
||||
% Detailed explanation goes here
|
||||
sidebarLabel = sprintf(...
|
||||
@ -9,13 +9,13 @@ function [sidebarLabel] = sidebar_stats(pltData)
|
||||
" Peak (mean): %1.f kW\n" + ...
|
||||
"\nDistance: %.2f km\n" + ...
|
||||
"\nTopspeed: %.1f km/h\n", ...
|
||||
pltData.energy_used_kwh, ...
|
||||
pltData.energy_regen_kwh, ...
|
||||
pltData.energy_kwh, ...
|
||||
pltData.peakPower_kw, ...
|
||||
pltData.peakPowerMean_kw, ...
|
||||
pltData.distanceTotal_km, ...
|
||||
pltData.maxSpeed_kph ...
|
||||
stats.energy_used_kwh, ...
|
||||
stats.energy_regen_kwh, ...
|
||||
stats.energy_kwh, ...
|
||||
stats.peakPower_kw, ...
|
||||
stats.peakPowerMean_kw, ...
|
||||
stats.distanceTotal_km, ...
|
||||
stats.maxSpeed_kph ...
|
||||
);
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user