From 235129377240890a15ffbf89849a119752d91103 Mon Sep 17 00:00:00 2001 From: Fahim Date: Tue, 2 Sep 2014 12:32:51 +0530 Subject: Subject: Python Plotting Changes Description: Below changes were made for python plotting. 1. Changes in newProject.py 2.Changes in KicadtoNgspice.py 3.Added new file pythonPlotting.py 4.Added matplot package in the installation script --- .../bridgeRectifier/bridgeRectifier.cir.ckt | 26 +++++++-------- .../bridgeRectifier/bridgeRectifier.cir.out | 38 ++++++++++++---------- 2 files changed, 33 insertions(+), 31 deletions(-) (limited to 'OSCAD/Examples') diff --git a/OSCAD/Examples/bridgeRectifier/bridgeRectifier.cir.ckt b/OSCAD/Examples/bridgeRectifier/bridgeRectifier.cir.ckt index ceab340..2ac10e3 100644 --- a/OSCAD/Examples/bridgeRectifier/bridgeRectifier.cir.ckt +++ b/OSCAD/Examples/bridgeRectifier/bridgeRectifier.cir.ckt @@ -1,13 +1,13 @@ -* eeschema netlist version 1.1 (spice format) creation date: monday 17 december 2012 12:01:55 pm ist -.include 1n4007.lib - -v1 3 1 sine(0 4 50 0 0) -r1 4 0 1000 -d3 0 3 1n4007 -d4 0 1 1n4007 -d2 1 4 1n4007 -d1 3 4 1n4007 - -.tran 100e-06 40e-03 0e-00 -.plot v(3)-v(1) v(4) -.end +* eeschema netlist version 1.1 (spice format) creation date: monday 17 december 2012 12:01:55 pm ist +.include 1n4007.lib + +v1 3 1 sine(0 5 50 0 0) +r1 4 0 1000 +d3 0 3 1n4007 +d4 0 1 1n4007 +d2 1 4 1n4007 +d1 3 4 1n4007 + +.tran 100e-06 40e-03 0e-00 +.plot v(3)-v(1) v(4) +.end diff --git a/OSCAD/Examples/bridgeRectifier/bridgeRectifier.cir.out b/OSCAD/Examples/bridgeRectifier/bridgeRectifier.cir.out index b3aade9..367e3ee 100644 --- a/OSCAD/Examples/bridgeRectifier/bridgeRectifier.cir.out +++ b/OSCAD/Examples/bridgeRectifier/bridgeRectifier.cir.out @@ -1,18 +1,20 @@ -* eeschema netlist version 1.1 (spice format) creation date: monday 17 december 2012 12:01:55 pm ist -.include 1n4007.lib - -v1 3 1 sine(0 4 50 0 0) -r1 4 0 1000 -d3 0 3 1n4007 -d4 0 1 1n4007 -d2 1 4 1n4007 -d1 3 4 1n4007 - -.tran 100e-06 40e-03 0e-00 - -* Control Statements -.control -run -plot v(3)-v(1) v(4) -.endc -.end +* eeschema netlist version 1.1 (spice format) creation date: monday 17 december 2012 12:01:55 pm ist +.include 1n4007.lib + +v1 3 1 sine(0 5 50 0 0) +r1 4 0 1000 +d3 0 3 1n4007 +d4 0 1 1n4007 +d2 1 4 1n4007 +d1 3 4 1n4007 + +.tran 100e-06 40e-03 0e-00 + +* Control Statements +.control +run +plot v(3)-v(1) v(4) +print allv > plot_data_v.txt +print alli > plot_data_i.txt +.endc +.end -- cgit