summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorathulappadan2016-03-15 15:22:57 +0530
committerathulappadan2016-03-15 15:22:57 +0530
commit46997e8e06c8199bfc52e908553336c8847a11b9 (patch)
tree2993609cf05c28022ec77813ca97c215fad6f9c0
parent7d128c3c55862bd3c2098ab2b0d90f599dad9195 (diff)
downloadeSim-46997e8e06c8199bfc52e908553336c8847a11b9.tar.gz
eSim-46997e8e06c8199bfc52e908553336c8847a11b9.tar.bz2
eSim-46997e8e06c8199bfc52e908553336c8847a11b9.zip
The units of plot function is shown in multimeter
-rw-r--r--Examples/BJT_amplifier/plot_data_i.txt2
-rw-r--r--Examples/BJT_amplifier/plot_data_v.txt6
-rw-r--r--src/ngspiceSimulation/pythonPlotting.py6
3 files changed, 7 insertions, 7 deletions
diff --git a/Examples/BJT_amplifier/plot_data_i.txt b/Examples/BJT_amplifier/plot_data_i.txt
index c3697448..42af69af 100644
--- a/Examples/BJT_amplifier/plot_data_i.txt
+++ b/Examples/BJT_amplifier/plot_data_i.txt
@@ -1,5 +1,5 @@
* /home/fossee/esim-workspace/bjt_amplifier/bjt_amplifier.cir
- Transient Analysis Thu Mar 3 18:28:39 2016
+ Transient Analysis Tue Mar 15 15:18:49 2016
--------------------------------------------------------------------------------
Index time v1#branch v2#branch
--------------------------------------------------------------------------------
diff --git a/Examples/BJT_amplifier/plot_data_v.txt b/Examples/BJT_amplifier/plot_data_v.txt
index f299971e..7a3e4186 100644
--- a/Examples/BJT_amplifier/plot_data_v.txt
+++ b/Examples/BJT_amplifier/plot_data_v.txt
@@ -1,5 +1,5 @@
* /home/fossee/esim-workspace/bjt_amplifier/bjt_amplifier.cir
- Transient Analysis Thu Mar 3 18:28:39 2016
+ Transient Analysis Tue Mar 15 15:18:49 2016
--------------------------------------------------------------------------------
Index time in net-_c1-pad1_ net-_c1-pad2_
--------------------------------------------------------------------------------
@@ -1064,7 +1064,7 @@ Index time in net-_c1-pad1_ net-_c1-pad2_
1007 1.000000e-02 -2.44929e-17 2.336157e-06 1.837271e+00
* /home/fossee/esim-workspace/bjt_amplifier/bjt_amplifier.cir
- Transient Analysis Thu Mar 3 18:28:39 2016
+ Transient Analysis Tue Mar 15 15:18:49 2016
--------------------------------------------------------------------------------
Index time net-_c2-pad2_ net-_c3-pad2_ net-_r2-pad1_
--------------------------------------------------------------------------------
@@ -2129,7 +2129,7 @@ Index time net-_c2-pad2_ net-_c3-pad2_ net-_r2-pad1_
1007 1.000000e-02 1.199900e+00 8.416406e+00 1.000000e+01
* /home/fossee/esim-workspace/bjt_amplifier/bjt_amplifier.cir
- Transient Analysis Thu Mar 3 18:28:39 2016
+ Transient Analysis Tue Mar 15 15:18:49 2016
--------------------------------------------------------------------------------
Index time out
--------------------------------------------------------------------------------
diff --git a/src/ngspiceSimulation/pythonPlotting.py b/src/ngspiceSimulation/pythonPlotting.py
index dd0ca532..9d89a52e 100644
--- a/src/ngspiceSimulation/pythonPlotting.py
+++ b/src/ngspiceSimulation/pythonPlotting.py
@@ -110,7 +110,7 @@ class plotWindow(QtGui.QMainWindow):
self.plotbtn = QtGui.QPushButton("Plot")
self.plotbtn.setToolTip('<b>Press</b> to Plot' )
self.multimeterbtn = QtGui.QPushButton("Multimeter")
- self.multimeterbtn.setToolTip('<b>Press</b> to get Multimeter' )
+ self.multimeterbtn.setToolTip('<b>Press</b> to get multimeter' )
self.text = QtGui.QLineEdit()
self.funcLabel = QtGui.QLabel()
self.palette1 = QtGui.QPalette()
@@ -424,7 +424,7 @@ class MultimeterWidgetClass(QtGui.QWidget):
self.multimeter = QtGui.QWidget(self)
self.node_branchLabel = QtGui.QLabel("Node/Branch")
- self.rmsLabel = QtGui.QLabel("RMS Value")
+ self.rmsLabel = QtGui.QLabel("RMS Value (Volts/Amperes)")
self.nodeBranchValue = QtGui.QLabel(str(node_branch))
self.rmsValue = QtGui.QLabel(str(rmsValue))
@@ -436,7 +436,7 @@ class MultimeterWidgetClass(QtGui.QWidget):
self.layout.addWidget(self.rmsValue,1,1)
self.multimeter.setLayout(self.layout)
- self.setGeometry(loc_x,loc_y,180,100)
+ self.setGeometry(loc_x,loc_y,300,100)
self.setWindowTitle("MultiMeter")
self.setWindowFlags(QtCore.Qt.WindowStaysOnTopHint)
self.show()