import pandas as pd
import matplotlib.pyplot as plt
data = {'UH': [19.92, 39.73,59.63, 79.64, 99.01, 118.43, 138.10, 157.91,177.61],
'Is': [0.50, 1.00, 1.50, 2.00, 2.50, 3.00, 3.50,4.00,4.50]}
df = pd.DataFrame(data)
df.set_index('UH', inplace=True)
df.plot(kind='line', y='Is', marker='o')
plt.title('UH-Is IM=600mA')
plt.xlabel('UH (mV)')
plt.ylabel('Is (mA)')
df_reset = df.reset_index()
for i, txt in enumerate(df_reset['Is']):
plt.annotate(f'{ df_reset["Is"][i],df_reset["UH"][i]}', (df_reset['UH'][i], df_reset['Is'][i]), ha='center', va='bottom')
plt.show()
import pandas as pd
import matplotlib.pyplot as plt
data = {'UH': [2.62, 13.24,23.79, 34.37, 44.98, 55.56, 66.02],
'IM': [0.04, 0.20, 0.36, 0.52, 0.68, 0.84, 1.00]}
df = pd.DataFrame(data)
df.set_index('UH', inplace=True)
df.plot(kind='line', y='IM', marker='o')
plt.title('UH-IM Is=1.00mA')
plt.xlabel('UH (mV)')
plt.ylabel('IM (mA)')
df_reset = df.reset_index()
for i, txt in enumerate(df_reset['IM']):
plt.annotate(f'{ df_reset["IM"][i],df_reset["UH"][i]}', (df_reset['UH'][i], df_reset['IM'][i]), ha='center', va='bottom')
plt.show()
import pandas as pd
import matplotlib.pyplot as plt
data = {'UH': [9.54, 18.73, 27.97, 37.16, 46.33, 55.53],
'B': [50, 100, 150, 200, 250, 300]}
df = pd.DataFrame(data)
df.set_index('UH', inplace=True)
df.plot(kind='line', y='B', marker='o')
plt.title('UH-B Is=1.00mA')
plt.xlabel('UH (mV)')
plt.ylabel('B (mT)')
df_reset = df.reset_index()
for i, txt in enumerate(df_reset['B']):
plt.annotate(f'{ df_reset["B"][i],df_reset["UH"][i]}', (df_reset['UH'][i], df_reset['B'][i]), ha='center', va='bottom')
plt.show()
import pandas as pd
import matplotlib.pyplot as plt
data = {'B': [14.1, 71.3, 128.4, 186.1, 243.4, 300.8, 357.6],
'IM': [0.04, 0.20, 0.36, 0.52, 0.68, 0.84, 1.00]}
df = pd.DataFrame(data)
df.set_index('B', inplace=True)
df.plot(kind='line', y='IM', marker='o')
plt.title('B-IM Is=1.00mA')
plt.xlabel('B (mT)')
plt.ylabel('IM (A)')
df_reset = df.reset_index()
for i, txt in enumerate(df_reset['IM']):
plt.annotate(f'{ df_reset["IM"][i],df_reset["B"][i]}', (df_reset['B'][i], df_reset['IM'][i]), ha='center', va='bottom')
plt.show()