void Draw_Potentials() { TF1* locFunc = new TF1("feawg","(-4.0/3.0)*[0]/x + [1]*x", 0.0, 5.0); locFunc->SetParameters(1.0, 1.0); locFunc->SetNpx(10000); locFunc->Draw(); TCanvas* locCanvas = new TCanvas("fehw4wag", "g4ah", 1200, 800); TF1* locFunc2 = new TF1("feawfeag","-1.0*[0]/x", 0.0, 5.0); locFunc2->SetParameter(0, 1.0); locFunc2->SetNpx(10000); locFunc2->Draw(); }