ERPLAB Toolbox is a free, open-source Matlab package for analyzing ERP data. It is tightly integrated with EEGLAB Toolbox, extending EEGLAB’s capabilities to provide robust, industrial-strength tools for ERP processing, visualization, and analysis. A graphical user interface makes it easy for beginners to learn, and Matlab scripting provides enormous power for intermediate and advanced users.
When saving figure with colors in .eps format via 'pdf' button on figure toolbar the resulting .eps file is black and white.
(see fix at end)
Steps to Reproduce
save figure as .eps
Expected behavior:
Color figure can be saved in .eps format in color.
Actual behavior:
Color figure can not be saved in .eps format in color. Resulting .eps file is black and white.
[What actually happened]
Versions
OS version
Windows 7 Enterprise SP1
Matlab version
MATLAB 2018a and older
EEGLAB version
2022.0 and older
ERPLAB version
8.30 and older
Fix
in /functions/erplab_print2file.m
after line 100 add new line
fformat=[fformat 'c']; %this makes the print() driver option '-depsc' in stead of '-deps' which is needed for color output
Description
When saving figure with colors in .eps format via 'pdf' button on figure toolbar the resulting .eps file is black and white. (see fix at end)
Steps to Reproduce
Expected behavior:
Color figure can be saved in .eps format in color.
Actual behavior:
Color figure can not be saved in .eps format in color. Resulting .eps file is black and white. [What actually happened]
Versions
Fix
in /functions/erplab_print2file.m after line 100 add new line fformat=[fformat 'c']; %this makes the print() driver option '-depsc' in stead of '-deps' which is needed for color output