Update: added plot_settings, integrated loadvector, added folders/files for future season preset selection

This commit is contained in:
2025-05-26 18:13:34 +02:00
parent 1e9dcbe19d
commit 7cdc35c90c
58 changed files with 2175 additions and 168 deletions

View File

@ -0,0 +1,21 @@
function [sidebarLabel] = sidebar_stats(pltData)
%SIDEBAR_STATS Summary of this function goes here
% Detailed explanation goes here
sidebarLabel = sprintf(...
"Statistics:\nEnergy\n Used: %.2f kWh\n" + ...
" Regen: %.2f kWh\n" + ...
" Total: %.2f kWh\n" + ...
"\nPower\n Peak: %.1f kW\n" + ...
" 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 ...
);
end