Extended stats plotting script