[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

OT: geda, ngspice and exporting figures for Latex



Hi,

I posted first to sci.electronics.design, but it seems to be quite
noisy. So trying my luck here.

I am currently experimenting with geda and ngspice to simulate basic
circuits (for a Circuits Analysis course) and I am only starting to
learn how to draw and simulate circuits. I drew a basic circuit in
geda and exported it as netlist and got:
#######################################################
$> gnetlist -v -g spice-sdb sch_1.sch -o sch_1.net
 ... (followed by lots of output) ...
$> cat sch_1.net
* gnetlist -v -g spice-sdb -o sch_1.net sch_1.sch
*********************************************************
* Spice file generated by gnetlist                      *
* spice-sdb version 10.9.2004 by SDB --                 *
* provides advanced spice netlisting capability.        *
* Documentation at http://www.brorson.com/gEDA/SPICE/   *
*********************************************************
V1 2 3 10V
R2 1 3 50K
R1 2 1 100K
.END
#######################################################


I was wondering:

1. How can I specify within geda which nodes I want monitored during a
simulation? Or do I specify them on ngspice command line, or in the
output .net file? I am guessing that I can run a dc simulation and then
plot various parameters?

2. How do I export the schematic so that I can include it in a LaTeX
file (as PS file perhaps)? I tried exporting it as PNG but I get the
whole big 'sheet' with my tiny circuit in the middle.

2b. How do I change the size of the 'sheet' or paper so that it is just
big enough to accomodate my little circuits?

thanks,
->HS
-- 
Please remove the underscores ( the '_' symbols) from my email address
to obtain the correct one. Apologies, but the fudging is to remove spam.



Reply to: