plot thread tracking