Commit c92e7321 authored by Keerthi Nakkalil's avatar Keerthi Nakkalil
Browse files

Macro to plot efficiency versus thr/bias voltage

parent 21083a3f
void efficiency_v_thr(){
TGraph* gr = new TGraph("efficiency_v_voltage.txt");
gr->SetMarkerStyle(7);
gr->SetMarkerColor(4);
gr->GetXaxis()->SetTitle("Reverse Bias Voltage [V]");
gr->GetYaxis()->SetTitle("Efficiency (%)");
gr->GetYaxis()->SetRangeUser(0,100);
gr->SetTitle("Efficiency vs Reverse Bias Voltage");
gr->Draw("AP");
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment