More robust scenario plot function