implemented keeping previous spectrum (#1), and auto-coloring