To plot erf function

Hello Rooters,

I am new to Root and would like to take your help to define the ‘erf’ function and its parameters.
Is it possible to define erf function as we define ‘Gaus’ function and its parameters?

I define Gaussian function as:
TF1 f1(“f1”,“gaus”,-10,10);
f1->SetParameters(1,-1,1);
f1->Draw();

Thanks a lot for your help.

Regards,
Kajal