Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Keerthi Nakkalil
gain_measurement
Commits
c92e7321
Commit
c92e7321
authored
May 10, 2021
by
Keerthi Nakkalil
Browse files
Macro to plot efficiency versus thr/bias voltage
parent
21083a3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
TB_analysis_TPX3/efficiency_v_thr.C
0 → 100644
View file @
c92e7321
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"
);
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment