summaryrefslogtreecommitdiff
path: root/src/ngspiceSimulation/pythonPlotting.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/ngspiceSimulation/pythonPlotting.py')
-rw-r--r--src/ngspiceSimulation/pythonPlotting.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ngspiceSimulation/pythonPlotting.py b/src/ngspiceSimulation/pythonPlotting.py
index 295c0a1d..e4f8fe03 100644
--- a/src/ngspiceSimulation/pythonPlotting.py
+++ b/src/ngspiceSimulation/pythonPlotting.py
@@ -52,7 +52,13 @@ class plotWindow(QtGui.QMainWindow):
self.a = self.obj_dataext.numVals()
self.chkbox=[]
-
+
+ self.val_dict = {}
+
+ for i in range(0,self.a[0]-1):
+ self.val_dict[self.obj_dataext.NBList[i]] = self.obj_dataext.y[i]
+ self.val_dict['x-axis'] = self.obj_dataext.x
+
########### Generating list of colors :
self.full_colors = ['r','b','g','y','c','m','k']#,(0.4,0.5,0.2),(0.1,0.4,0.9),(0.4,0.9,0.2),(0.9,0.4,0.9)]
self.color = []