diff --git a/README.md b/README.md index b391b76..2e43767 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ Currently, the plotting tool covers the following functionalities: - Generate a normal plot - Generate a plot of the data processed by a move-mean filter (20th order) - Generate a spectrogram of the fourier analysis +- Merge the generated .fig files into singular files ### Accessing the tool @@ -110,12 +111,24 @@ The plots are always saved as png and fig files. If you need a different y-scale One last disclaimer: If there is a mistake in the data set, if you use a comma instead of a period, if you write words in fields which expect a number and in many other cases, the software will crash. This software isn't made to be used without a brain. +### Merge Tool + +To access the merge tool, follow the instructions for the plotting tool, but select the file **"mergeTool.mlapp"** instead. + +The merge tool functions very similarly to the main Plotting tool. In the top of the UI there is a "Select File" and "Path" Text field. Use either of these to specify the first file and then press "Add". Repeat this process for every file you wish to use. + + +Now you can use the "X-Axis Label" and "Y-Axis Label" text fields to change the Labels as needed. In the Rows below you should now see all the .fig files you selected with a "Name in Legend" text field, which allows you to change how the extracted data will be labled in the legend. + +Finally hit the "Generate Merged Plot" button and you will be asked to select the location, where the "merged.fig" and "merged.png" files will be placed. You can continue to use the tool and add more .fig files after the generation. + +**IMPORTANT: The merge tool, will extract only the "main" plot from each file.** I.e. if you merge a Derivative .fig file (which contains both the original function and it's derivative), **only** the derivative will be added to the new merged figure. + ### Developer information There are numerous functionalities still missing. The following list provides an overview of all important functions, that should be added as soon as possible (more or less). The order of precedence represents the priority. -1. Merge plots (more than one data set in a single plot) – Maybe another tool for that? -2. Get the custom x-Axis label to work on the fourier plot -3. Add try and catch statements around every user input +1. Get the custom x-Axis label to work on the fourier plot +2. Add try and catch statements around every user input You are very welcome to help develop this tool further. If you are planning to do so, please send me a message (Max Heckmann) and I give you a short introduction in the already existing code. This probably saves you some time. \ No newline at end of file diff --git a/mergeTool.mlapp b/mergeTool.mlapp new file mode 100644 index 0000000..39e20c7 Binary files /dev/null and b/mergeTool.mlapp differ