summaryrefslogtreecommitdiff
path: root/src/ngspiceSimulation/pythonPlotting.py
diff options
context:
space:
mode:
authorSunil Shetye2019-06-27 17:06:52 +0530
committerGitHub2019-06-27 17:06:52 +0530
commit9fca9eec6fd4ee2001361d2b459d13dcb0a8a924 (patch)
tree4c23d5d525f835933459388ed2bfce8d7b053f9c /src/ngspiceSimulation/pythonPlotting.py
parenta620e3f94c46f02d7ee1b58bdb5fb7cc8e7be2f1 (diff)
parent9e3dbaf428a899e34490cbfcb11ca7c9bb7af60a (diff)
downloadeSim-9fca9eec6fd4ee2001361d2b459d13dcb0a8a924.tar.gz
eSim-9fca9eec6fd4ee2001361d2b459d13dcb0a8a924.tar.bz2
eSim-9fca9eec6fd4ee2001361d2b459d13dcb0a8a924.zip
Merge pull request #104 from anjalijaiswal08/RenameProject
Rename project Done
Diffstat (limited to 'src/ngspiceSimulation/pythonPlotting.py')
-rw-r--r--src/ngspiceSimulation/pythonPlotting.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ngspiceSimulation/pythonPlotting.py b/src/ngspiceSimulation/pythonPlotting.py
index 22f2100a..bbcc981f 100644
--- a/src/ngspiceSimulation/pythonPlotting.py
+++ b/src/ngspiceSimulation/pythonPlotting.py
@@ -381,6 +381,7 @@ class plotWindow(QtGui.QMainWindow):
self.axes.set_ylabel('Voltage(V)-->')
else:
self.axes.set_ylabel('Current(I)-->')
+
self.axes.grid(True)
self.canvas.draw()
self.combo = []
@@ -697,6 +698,7 @@ class DataExtraction:
self.msg = QtGui.QErrorMessage(None)
self.msg.showMessage('Error in Analysis File.')
self.msg.setWindowTitle("Error Message:openFile")
+
d = self.numberFinder(fpath)
d1 = int(d[0] + 1)
d2 = int(d[1])