summaryrefslogtreecommitdiff
path: root/src/ngspiceSimulation/pythonPlotting.py
diff options
context:
space:
mode:
authoranjalijaiswal082019-06-21 16:15:02 +0530
committeranjalijaiswal082019-06-26 02:49:20 +0530
commit71851a2df657bd166d6ee81eb00dae0fda2ef3a4 (patch)
treeb2ba852d1f3132e54be25029ae708b8e4404ad16 /src/ngspiceSimulation/pythonPlotting.py
parentb9957bac0e86410007b0b728e58edeca5aa52d85 (diff)
downloadeSim-71851a2df657bd166d6ee81eb00dae0fda2ef3a4.tar.gz
eSim-71851a2df657bd166d6ee81eb00dae0fda2ef3a4.tar.bz2
eSim-71851a2df657bd166d6ee81eb00dae0fda2ef3a4.zip
Issue #82 solved: Renaming project added
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 b9474403..d36a42cf 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])