add matlab plot for spectrum data