Skip to content
Snippets Groups Projects
Commit 0fdf6ec4 authored by JupyterHub User's avatar JupyterHub User
Browse files

added labels, titles to all plots

parent 27c49cab
Branches
No related tags found
No related merge requests found
......@@ -43,6 +43,9 @@ def I_V_Measurement(start,stop,step):
# show plot
plt.plot(voltage_values,current_values)
plt.xlabel('Voltage(V)')
plt.ylabel('Current(A)')
plt.title("I-V plot")
plt.show()
#export data to csv file
......@@ -125,6 +128,9 @@ def stress_sampling(V2_stress=10,V3_stress=3,stress_time=30,V2_sampling=10,V3_sa
fig = plt.figure()
plt.plot(time_values,I2_values,label='I2')
plt.plot(time_values,I3_values,label='I3')
plt.xlabel('Time(s)')
plt.ylabel('Current(A)')
plt.title("stress + sampilng plot")
plt.legend()
plt.show()
......@@ -226,7 +232,6 @@ def ctlm(field_name ='M00',start=-50*10**(-3),stop=50*10**(-3),step=10**(-3),com
break
#close the connection and plot all the diagramms
plt.legend()
plt.show()
del device
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment