update FT24 presets

This commit is contained in:
2025-08-22 17:39:32 +02:00
parent 7650d02541
commit 247696eab6
31 changed files with 298 additions and 274 deletions

View File

@ -1,4 +1,4 @@
function [outputArg] = plot_custom(panel, start, stop, pltData)
function [outputArg] = plot_custom(panel, pltData, tr)
% create tiledlayout (R2023a and newer)
tl = tiledlayout(panel,"flow");
@ -10,7 +10,7 @@ function [outputArg] = plot_custom(panel, start, stop, pltData)
ylabel(ax1, "y-axis label")
xlabel(ax1, "x-axis label")
%"XXX = enter name of data you want to plot"
plot(ax1,pltData.xAxis(start:stop),pltData.XXX(start:stop))
plot(ax1,pltData.xAxis(tr,:),pltData.XXX(tr,:))
% more plots for customizing
@ -19,21 +19,21 @@ function [outputArg] = plot_custom(panel, start, stop, pltData)
% hold(ax2, "on")
% grid(ax2, "on")
% title(ax2, "Power [kW]")
% plot(ax2,pltData.xAxis(start:stop),pltData. XXXX (start:stop))
% plot(ax2,pltData.xAxis(tr,:),pltData. XXXX (tr,:))
% plot 3:
% ax3 = nexttile(tl);
% hold(ax3, "on")
% grid(ax3, "on")
% title(ax3, "Max Cell Temp [°C]")
% plot(ax3,pltData.xAxis(start:stop),pltData. XXXX (start:stop))
% plot(ax3,pltData.xAxis(tr,:),pltData. XXXX (tr,:))
% plot 4:
% ax4 = nexttile(tl);
% hold(ax4, "on")
% grid(ax4, "on")
% title(ax4, "SOC")
% plot(ax4,pltData.xAxis(start:stop),pltData. XXXX (start:stop))
% plot(ax4,pltData.xAxis(tr,:),pltData. XXXX (tr,:))
% link all x axes