Restored plotsHelper.R