Refs #9532 Correct plotting and refactor code into function.
Merge branch 'bugfix/9532_quasi_plotting' into develop