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:
@CarlWachter
2023-01-20 12:26:03 +01:00
parent 715c2fa53c
commit 3a19f862ad
5 changed files with 68 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
function graphPlotFnc(data, fileSettings, checkboxes, start, stop, yAxis, channels, path)
function graphPlotFnc(data, fileSettings, checkboxes, start, stop, yAxis, xAxis, channels, path)
%Iterate through all channels
for channel = 1:width(data)
@@ -46,7 +46,7 @@ function graphPlotFnc(data, fileSettings, checkboxes, start, stop, yAxis, channe
figure(channel)
plot(timeArray, yData);
ylabel(yAxis{channel}.Value);
xlabel('Time [s]');
xlabel(xAxis{channel}.Value);
title(channels{channel});
%Save plot