
# Pathon at GlobalSino: https://www.globalsino.com/ICs/page4853.html
# Code function: show images in any image viewer 

import matplotlib.pyplot as plt

voltages = input ('Enter your number: \t')
EM = int(voltages)
for voltages in range(EM):
 j = voltages*0.3
 plt.plot(voltages, j, '-o')
plt.xlabel('Voltage [V]')
plt.ylabel('Current [A/cm^2]')
plt.grid()      # add grid
plt.show()      # show the plot on the screen
