Delete a line on a Pad

Hi,

I want to delete a line (or make it transparent) made by draw method of a TF1. I specify that i don’t want delete the instance of the class but only the line on the pad. Which is the method to do this?

Thanks

Sorry if english is not perfect.

Assuming a pointer TLine* line , do

pad->GetListOfPrimitives()->Remove(line);
Rene

thank you :slight_smile:
Exactly what i want.