plot spectogram with window