added script for plot for the proportion of core and transients by system