Installation / Creation of conda environment
git clone https://github.com/nimstepf/plotting-gui.git
cd plotting-gui
conda env create -f environment.yml
conda activate plotting-gui
Deinstallation
conda activate base
conda remove --name plotting-gui --all
git clone https://github.com/nimstepf/plotting-gui.git
cd plotting-gui
pip install -r requirements.txt
python plotting-gui.py
With the Open Folder
button or Menu>Open
, a directory containing the raw data can be selected. The .csv files of all subfolders will be listed in the Raw Data
box. Selected files will be shown in the Selected files
box.
With Number of subplots
, the number of different plots can be chosen. Using drag and drop, selected files can be added to the different plots (boxes of Subplots
). The order in the boxes defines the order in the resulting plot.
Files can be deleted from the Selected files
and Subplots
boxes by double-clicking.
The title and labels of the plot can be set in the Set Labels
box.
In the navigation bar, different predefined styles can be selected. The colorset of the default
style is optimized for color-blind individuals according to Bang Wong nature methods | VOL.8 NO.6 | JUNE 2011 | 441. I would be thankful for some feedback about the most useful predefined styles, to simplify and shorten the list.
With
Configure subplots
, the borders and spacing of the plots can be adjusted.
With
Edit axis, curve and image parameters
, each plot can be personalized individually. After selecting the axis (subplot), limits and scaling of the axes can be adapted. Furthermore, in the Curves
register, the label and line style for each curve of the subplot can be choosen.
With
Save the figure
the plot can be exported for example as vector graphic.
The following functions can be called from the menu bar or by shortcuts:
- Open: open a directory (similar to
Open Folder
button) - Update: updates plot (similar to
Update
button) - Restart: complete restart of the application
- Exit: close the application
As a standard delimiter/separator, the comma "," is defined. In the Delimiter
menu, different delimiters can be selected. To avoid errors, the delimiter should be selected before loading the data. However, plotting files with different delimiters at once is not possible yet. If needed, the Delimiter
menu can be extended with further separators.
The plotting-gui is licensed under the GPL. The screenshots and graphics in this repository may be used under the terms of CC BY-NC-SA 4.0 if you prominently credit to Nicolas Imstepf and ZHAW CCBIO.