generate comp3 graph