began implementing 2D plots in spectrum viewer