mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sw-plotting-tool.git
synced 2025-12-18 02:48:02 +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 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
|
||||
|
||||
Reference in New Issue
Block a user