SG function

summary graph