Kernel: Python 2 (Ubuntu Linux)
In [3]:
In [5]:
0, LEDdata.csv
Enter file number:
WARNING: 1 intermediate output message was discarded.
In [2]:
NameErrorTraceback (most recent call last)
<ipython-input-2-1355514d84d4> in <module>()
----> 1 fig = plt.figure(figsize=(15,5))
2 ax = fig.add_subplot(111)
3 ax.grid(True)
4 ax.set_title("Curretn vs Voltage" )
5 pl1 = ax.plot(voltage, current)
NameError: name 'plt' is not defined
LED Model
Use an exponential model. where is the turn on voltage and sets the voltage scale.
In [3]:
File "<ipython-input-3-97738f0e54c6>", line 8
myData = odr.RealData(voltage, current, sx=”Voltage Uncertainty”, sy=”Current Uncertainty”)
^
SyntaxError: invalid syntax
In [0]:
In [0]: