refined figure output for the thresh with mean