Non-linear optimization plays a big role in many tasks in geophysics, such as full waveform inversion (FWI). Visualization of the objective function is useful for the analysis and development of algorithms and formulations. However, in high-dimensional problems, we do not have the capabilities to perform such visualization. Instead, one often works with one or two predefined directions in which to slice the objective. In this work we present an approach to visualizing the misfit landscape together with the optimization trajectories based on principal component analysis. Here, the directions along which to slice the objective are chosen in accordance with the optimization trajectory. We demonstrate the approach through a numerical example using the Marmousi model.