Commit 7ad32c81 authored by Francesco Tripaldi's avatar Francesco Tripaldi
Browse files

Add unit to graph axes

parent 2dcadf2b
......@@ -139,8 +139,8 @@ def main():
plt.plot(xp,p(xp), label = "Fitting", color="orange")
#plt.plot(xp,y_conv[:-3], label = "2nd order derivate")
plt.title(str(graph_title))
plt.xlabel('GUN Vgrid')
plt.ylabel('Booster current')
plt.xlabel('GUN Vgrid (V)')
plt.ylabel('Booster current (mA)')
plt.legend(loc=0)
fig = plt.gcf()
fig2elog(fig,elog_text)
......
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