presets for FT23 with timestamps works now, save and FT24+25 not
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
function [outputArg] = plot_suspension_velocities(panel, start, stop, pltData)
|
||||
function [outputArg] = plot_suspension_velocities(panel, pltData, tr)
|
||||
% create tiledlayout (R2023a and newer)
|
||||
tl = tiledlayout(panel,"vertical");
|
||||
% plot 1: velocity heave front [mm/s]
|
||||
@ -6,25 +6,25 @@ function [outputArg] = plot_suspension_velocities(panel, start, stop, pltData)
|
||||
hold(ax1, "on")
|
||||
grid(ax1, "on")
|
||||
title(ax1, "Heave Front [mm/s]")
|
||||
plot(ax1, pltData.xAxis(start:stop), pltData.velocityHeaveFront_mmps(start:stop))
|
||||
plot(ax1, pltData.xAxis(tr,:), pltData.velocityHeaveFront_mmps(tr,:))
|
||||
% plot 2: velocity roll front [mm/s]
|
||||
ax2 = nexttile(tl);
|
||||
hold(ax2, "on")
|
||||
grid(ax2, "on")
|
||||
title(ax2, "Roll Front [mm/s]")
|
||||
plot(ax2, pltData.xAxis(start:stop), pltData.velocityRollFront_mmps(start:stop))
|
||||
plot(ax2, pltData.xAxis(tr,:), pltData.velocityRollFront_mmps(tr,:))
|
||||
% plot 3: velocity heave front [mm/s]
|
||||
ax3 = nexttile(tl);
|
||||
hold(ax3, "on")
|
||||
grid(ax3, "on")
|
||||
title(ax3, "Heave Rear [mm/s]")
|
||||
plot(ax3, pltData.xAxis(start:stop), pltData.velocityHeaveRear_mmps(start:stop))
|
||||
plot(ax3, pltData.xAxis(tr,:), pltData.velocityHeaveRear_mmps(tr,:))
|
||||
% plot 4: velocity roll front [mm/s]
|
||||
ax4 = nexttile(tl);
|
||||
hold(ax4, "on")
|
||||
grid(ax4, "on")
|
||||
title(ax4, "Roll Rear [mm/s]")
|
||||
plot(ax4, pltData.xAxis(start:stop), pltData.velocityRollRear_mmps(start:stop))
|
||||
plot(ax4, pltData.xAxis(tr,:), pltData.velocityRollRear_mmps(tr,:))
|
||||
linkaxes([ax1, ax2, ax3, ax4],"x")
|
||||
|
||||
% return null (not relevant for plots!)
|
||||
|
||||
Reference in New Issue
Block a user