Debian Codegraph @

eyes17/helpFiles/xcircuit/diode_iv.ps

raw
1 %!PS-Adobe-3.0 EPSF-3.0
2 %%Title: diode_iv.ps
3 %%Creator: XCircuit v3.9 rev73
4 %%CreationDate: Thu Mar 12 14:42:45 2020
5 %%Pages: 1
6 %%BoundingBox: 68 68 238 160
7 %%DocumentNeededResources: font Helvetica Times-Roman Symbol
8 %%EndComments
9 %%BeginProlog
10 %
11 % PostScript prolog for output from xcircuit
12 % Version: 3.9
13 %
14 % Electrical circuit (and otherwise general) drawing program
15 %
16 % Written by Tim Edwards 8/5/93--4/12/16 ([email protected])
17 % The Johns Hopkins University (1993-2004)
18 % MultiGiG, Inc. (2004-2012)
19 % Open Circuit Design (2012-2016)
20 %
21 %%BeginResource: procset XCIRCproc 3.9 1
22 %
23 % supporting definitions --- these are the primary xcircuit types.
24
25 /XCIRCsave save def
26 /topmat matrix currentmatrix def
27
28 /fontslant { /slant exch def [1 0 slant 1 0 0]
29 exch findfont exch makefont dup length dict /ndict exch def
30 { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
31 ndict definefont pop} def
32 /ul { count 0 gt { dup type /stringtype eq showflag 1 eq and { gsave
33 currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
34 false charpath flattenpath pathbbox grestore exch pop 1 index
35 sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
36 rlineto stroke moveto } if } if } def
37 /ol { count 0 gt { dup type /stringtype eq showflag 1 eq and { gsave gsave
38 currentpoint topmat setmatrix 2 index stringwidth pop 3 index
39 true charpath flattenpath pathbbox grestore exch pop
40 exch pop topmat setmatrix (_) true charpath pathbbox grestore
41 exch pop 1 index sub setlinewidth exch pop currentpoint
42 exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
43 moveto } if } if } def
44 /stW { gsave currentpoint newpath moveto true charpath flattenpath
45 pathbbox pop exch pop sub grestore } def
46 /Ts {mark Tabs aload pop counttomark 1 add array astore /Tabs exch def Tabs
47 0 currentpoint pop put} def
48 /Tbn {mark Tabs aload pop counttomark dup 2 add 1 roll cleartomark 1 sub} def
49 /Tb { 0 1 Tbn {Tabs exch get dup currentpoint pop lt
50 {currentpoint exch pop moveto exit} {pop} ifelse } for } def
51 /Tf { Tbn -1 0 {Tabs exch get dup currentpoint pop gt
52 {currentpoint exch pop moveto exit} {pop} ifelse } for } def
53 /qS { (aa) stW (a a) stW sub 4 div 0 Kn } def
54 /hS { qS qS } def
55 /pspc 0 def
56 /cf0 { scalefont setfont } bind def
57 /Kn { dup kY add /kY exch def rmoveto } bind def
58 /ss { /fscale fscale 0.67 mul def currentfont 0.67 cf0 0 fscale0 fscale mul
59 0.33 mul neg Kn} def
60 /Ss { /fscale fscale 0.67 mul def currentfont 0.67 cf0 0 fscale0 fscale mul
61 0.67 mul Kn } def
62 /ns { 0 kY neg Kn /kY 0 def /fscale 1.0 def xfont0 1.0 cf0 } def
63 /MR { /twidth exch def } def
64 /CRx { } def
65 /CR { ns 0 /Bline Bline fscale0 neg add def Bline moveto CRx } def
66 /cf { dup type /realtype ne {1.0} if exch findfont exch kY 0 eq
67 { 40 mul dup /fscale0 exch def cf0 /xfont0 currentfont def}
68 {fscale0 mul fscale mul cf0} ifelse } def
69 /ctmk { counttomark dup 2 add -1 roll pop } bind def
70 /label { gsave translate 0 0 moveto dup scale neg
71 /rotval exch def /twidth 100000 def /just exch def just 128 and
72 0 gt {/mshow {pop} def} {/mshow {show} def} ifelse just 16 and 0
73 gt {gsave rotval rotate 0 1 dtransform gsave pagemat setmatrix
74 idtransform exch grestore 1 0 dtransform gsave pagemat setmatrix
75 idtransform exch grestore dup abs 1e-9 lt {pop mul 0 gt} {3 1 roll
76 pop pop 0 lt} ifelse grestore {-1 /rotval rotval neg def /just just
77 dup 3 and 1 ne {3 xor} if def} {1} ifelse exch -1e-9 lt {-1 /rotval
78 rotval neg def /just just dup 12 and 4 ne {12 xor} if def} {1}
79 ifelse scale } if /showflag 0 def /fspc pspc def /Bline 0 def
80 /numlines 0 def /padding 0 array def /Tabs 0 array def
81 /fscale 1.0 def /kY 0 def gsave /CRx { linewid padding
82 aload pop numlines 1 add dup /numlines exch def array astore
83 /padding exch def /linewid 0 def } def dup 1 add copy dup 1 0
84 dtransform exch atan rotate {exch dup type /stringtype eq {gsave dup
85 gsave newpath 0 0 moveto true charpath flattenpath pathbbox pop exch
86 pop exch pop grestore currentpoint pop add dup /linewid exch def twidth
87 ge {grestore CR exch 1 add dup 2 add {CR} exch 1 roll exch} {grestore}
88 ifelse true charpath flattenpath} {dup type /arraytype eq {exec} {12
89 string cvs true charpath flattenpath} ifelse} ifelse} repeat
90 CRx /CRx {padding aload pop just 1280 and 0 gt {blockwid exch sub just
91 1024 and 0 gt {0.5 mul} if} {pop 0} ifelse 0 rmoveto numlines 1 sub
92 dup /numlines exch def array astore /padding exch def} def exch pop
93 pathbbox grestore 4 copy pop exch pop exch sub /blockwid exch def
94 3 -1 roll pop 3 1 roll just 1 and 0 gt {just 2 and
95 0 gt {exch pop neg fspc sub} {exch sub 0.5 mul neg} ifelse} {pop neg
96 fspc add} ifelse exch Bline exch just 4 and 0 gt {just 8 and 0 gt
97 {exch pop neg fspc sub} {add 0.5 mul neg} ifelse} {pop neg fspc add}
98 ifelse rotval rotate Kn currentpoint translate /showflag 1 def /Bline
99 0 def /Tabs 0 array def /fscale 1.0 def /kY 0 def CRx {dup type
100 /stringtype eq {mshow} {dup type /arraytype eq {exec} {12 string cvs
101 mshow} ifelse} ifelse} repeat grestore endclip} def
102 /pinlabel { 4 index 32 and 0 ne hlevel 0 eq or { /pspc 10 def label
103 /pspc 0 def } { pop pop pop pop pop {pop} repeat } ifelse } def
104 /pinglobal { pinlabel } def
105 /infolabel { pinlabel } def
106 /graphic { gsave 4 index cvx exec /DataSource get resetfile translate 0 0
107 moveto neg rotate dup scale cvx exec image grestore endclip} def
108
109 /scb { setrgbcolor } bind def /sce { defColor aload pop scb } bind def
110 /cRedef {/defColor currentcolor 3 array astore def} def
111 /begingate {dup type /dicttype ne {1 dict} if begin % default params
112 dup type /dicttype ne {1 dict} if begin % instanced params
113 /hlevel hlevel 1 add def /defColor currentcolor sce 3 array astore
114 def gsave sce translate 0 0 moveto neg rotate dup type /nametype
115 eq not { dup abs currentlinewidth exch div setlinewidth } { pop }
116 ifelse dup abs scale clipped 1 and 1 eq {/clipped clipped 1 add def}
117 if} bind def
118 /endgate { /hlevel hlevel 1 sub def grestore defColor aload pop cRedef
119 scb end end endclip} bind def
120
121 /hlevel 0 def
122 /endclip {clipped 1 and 1 eq {grestore /clipped clipped 1 sub def} if} def
123 /tmpa [1 0 0 1 0 0] def
124 /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
125 {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
126 {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
127 {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
128 {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
129 {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
130 {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
131 /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
132 neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
133 gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
134 { 3 index exch 5 exch put dup -8 3 index { 3 index
135 exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
136 /setstyles {
137 currentlinewidth mul setlinewidth /style exch def style 2048 and 0 gt
138 clipped 1 and 0 eq and {clip newpath /clipped clipped 1 add def} {
139 style 1 and 0 gt not {closepath} if
140 style 1024 and 0 gt {2 setlinecap 0 setlinejoin} if
141 style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
142 style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
143 gsave style 16 and 0 gt { style 224 and -5 bitshift style 256 and 0 gt {
144 7 exch sub 8 div dup 1 exch sub currentrgbcolor 3 array astore
145 {3 copy mul add 4 1 roll pop} forall pop pop setrgbcolor eofill}
146 {dup 7 lt {gar exch get ppaint} {pop eofill} ifelse} ifelse}
147 {style 256 and 0 gt {1 setgray eofill} if} ifelse grestore style 8 and 0 gt
148 style 512 eq or {newpath} {stroke} ifelse grestore endclip} ifelse} def
149
150 /addtoy {exch dup dup 2 mul 3 add 1 roll -1 1 { 4 1 roll dup 4 1 roll add
151 4 -1 roll 2 mul 1 add index 2 mul 2 add 2 roll} for pop} def
152 /addtoy1 {1 exch addtoy pop} def
153 /addtoy3 {3 exch addtoy pop} def
154 /addtoy4 {4 exch addtoy pop} def
155 /addtox {exch dup dup 2 mul 3 add 1 roll -1 1 { 4 1 roll dup 4 1 roll 3 -1 roll
156 add exch 4 -1 roll 2 mul 1 add index 2 mul 2 add 2 roll} for pop} def
157 /addtox1 {1 exch addtox pop} def
158 /addtox3 {3 exch addtox pop} def
159 /addtox4 {4 exch addtox pop} def
160 /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
161 /xcarc { gsave newpath arc setstyles } def
162 /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
163 3 index div 1 scale } def
164 /ele { 0 4 1 roll 0 4 1 roll } bind def
165 /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
166 /pellip { elb ele arc setmatrix } def
167 /nellip { elb ele arcn setmatrix } def
168 /spline { gsave moveto curveto setstyles } def
169 /polyc { {lineto} repeat } bind def
170 /beginpath { gsave moveto } bind def
171 /endpath { setstyles } bind def
172 /bop { 1 setlinecap 2 setlinejoin 6 setmiterlimit 0 0 0 scb cRedef
173 /clipped 0 def} def
174 /psinsertion {/PSobj save def /showpage {} def /setpagedevice {pop} def bop
175 rotate translate dup scale} def
176 /end_insert {PSobj restore} def
177 /setpagemat {/pagemat matrix currentmatrix def} def
178 /inchscale {setpagemat 0.375 mul dup scale} def
179 /cmscale {setpagemat 0.35433071 mul dup scale} def
180
181 %%EndResource
182 %%EndProlog
183 % XCircuit output starts here.
184
185 %%BeginSetup
186
187 /analog::diode {
188 begingate
189 248 1.000 -18 -16 0 16 18 -16 3 polygon
190 1 1.000 0 -48 0 -16 2 polygon
191 1 1.000 0 48 0 16 2 polygon
192 1 1.000 -18 16 18 16 2 polygon
193 1.000 0.000 0.000 scb
194 (d.m) {/Times-Roman cf} 2 9 0.000 1.000 0 48 pinlabel
195 (d.p) {/Times-Roman cf} 2 13 0.000 1.000 0 -48 pinlabel
196 endgate
197 } def
198
199 /analoglib3::Resistor {
200 <</@class (R) /@value (1.0) /@units (k) /@index (?) /p_jst 20 /p_rot 0 /p_xps
201 32 /p_yps -16 /p_xps1 32 /p_yps1 16 >> begingate
202 1 1.000 0 64 0 36 2 polygon
203 1 1.000 0 -64 0 -36 2 polygon
204 1 1.000 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
205 1.000 0.000 0.000 scb
206 (1) {/Times-Roman cf} 2 9 0.000 1.000 0 64 pinlabel
207 (2) {/Times-Roman cf} 2 13 0.000 1.000 0 -64 pinlabel
208 0.180 0.545 0.341 scb
209 mark @units @value ( %p1 %p2 ) @index @class (spice:) {/Times-Roman cf} ctmk 4
210 0.000 1.000 -208 -160 infolabel
211 mark @index @class (pcb:) {/Times-Roman cf} ctmk 20 0.000 1.000 -208 -256
212 infolabel
213 (sim:r %p1 %p2) {/Times-Roman cf} 2 4 0.000 1.000 -208 -208 infolabel
214 0.647 0.165 0.165 scb
215 mark (W) {/Symbol cf} @units {hS} @value {/Times-Roman cf} ctmk p_jst p_rot
216 0.700 p_xps p_yps label
217 0.000 0.000 1.000 scb
218 mark @index @class {/Times-Roman cf} ctmk p_jst p_rot 0.700 p_xps1 p_yps1 label
219 endgate
220 } def
221
222
223 %%EndSetup
224
225 %%Page: diode_iv 1
226 %%PageOrientation: Portrait
227 /pgsave save def bop
228 % 2.00 16.00 gridspace
229 1.0000 inchscale
230 2.6000 setlinewidth 400 -432 translate
231
232 1 1.000 32 800 16 0.000 360.000 xcarc
233 0 1.000 -32 688 -32 640 32 640 32 688 4 polygon
234 0 1.000 96 688 96 640 192 640 192 688 4 polygon
235 0 1.000 -208 848 -208 624 224 624 224 848 4 polygon
236 1 1.000 160 800 16 0.000 360.000 xcarc
237 1 1.000 -128 800 16 0.000 360.000 xcarc
238 1.000 90.000 96 800 analog::diode
239 0 1.000 -192 688 -192 640 -96 640 -96 688 4 polygon
240 1 1.000 161 784 224 720 160 688 160 784 spline
241 1 1.000 1 688 64 736 32 784 0 688 spline
242 1 1.000 -160 720 -192 736 -128 784 -144 688 spline
243 (PV1) {/Helvetica cf} 2 16 0.000 1.000 -176 656 label
244 (A1) {/Helvetica cf} 2 16 0.000 1.000 -16 656 label
245 (GND) {/Helvetica cf} 2 16 0.000 1.000 96 656 label
246 1.000 90.000 -48 800 <</@index () /p_rot 270 /p_yps -32 /p_xps1 -32 /p_yps1 -16 >> analoglib3::Resistor
247 pgsave restore showpage
248
249 %%Trailer
250 XCIRCsave restore
251 %%EOF