mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sw-plotting-tool.git
synced 2025-12-17 02:28:03 +00:00
Added changeable X-Axis. Does not work for Fourier plot since the spectogram function does not support it.
Also added differentiation functions (not used yet).
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
function meanPlotFnc(data, fileSettings, checkboxes, start, stop, yAxis, channels, path, order)
|
||||
function meanPlotFnc(data, fileSettings, checkboxes, start, stop, yAxis, xAxis, channels, path, order)
|
||||
|
||||
%Iterate through all channels
|
||||
for channel = 1:width(data)
|
||||
@@ -45,7 +45,7 @@ function meanPlotFnc(data, fileSettings, checkboxes, start, stop, yAxis, channel
|
||||
hold all
|
||||
plot(timeArray, movmean(yData, str2double(order)), '-r');
|
||||
ylabel(yAxis{channel}.Value);
|
||||
xlabel('Time [s]');
|
||||
xlabel(xAxis{channel}.Value);
|
||||
legend('Without movmean', strcat('With movmean (', order, 'th order)'))
|
||||
title(channels{channel});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user