add shared patent and article line graph. update plot printing function.