diff options
Diffstat (limited to 'graphics/circuit_macros/examples/svg/ex01SVG.m4')
-rw-r--r-- | graphics/circuit_macros/examples/svg/ex01SVG.m4 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/circuit_macros/examples/svg/ex01SVG.m4 b/graphics/circuit_macros/examples/svg/ex01SVG.m4 index b8787d1539..dd22dd8494 100644 --- a/graphics/circuit_macros/examples/svg/ex01SVG.m4 +++ b/graphics/circuit_macros/examples/svg/ex01SVG.m4 @@ -16,13 +16,13 @@ Timer: [ define(`elen_',`linewid') Vs: dot down_ - variable(`resistor(,E); llabel(,svg_norm(1 M`'svg_ohm))'); - resistor(,E); llabel(,svg_norm(100 k`'svg_ohm)) + variable(`resistor(,,E); llabel(,svg_norm(1 M`'svg_ohm))'); + resistor(,,E); llabel(,svg_norm(100 k`'svg_ohm)) capacitor(,E); llabel(svg_norm(220 svg_micro`'F)) Zero: dot dot(at Vs+(elen_*4/3,0)) - resistor(,E); llabel(,svg_norm(33 k`'svg_ohm)) + resistor(,,E); llabel(,svg_norm(33 k`'svg_ohm)) line to (Here,Zero) chop 0 chop elen_ C2: capacitor; llabel(svg_norm(0.1 svg_micro`'F)) dot @@ -40,7 +40,7 @@ R: dot B: buzzer(,,C) with .In3 at Here line from B.In1 to (R,B.In1) reversed(`diode',to (Here,Vs),LE); "red" at last line.c+(elen_/2,0) - resistor(down_ elen_ from R,E); llabel(,svg_norm(470 svg_ohm)) + resistor(down_ elen_ from R,,E); llabel(,svg_norm(470 svg_ohm)) diode(to (Here,Zero),LE); {"green" wid 0.4 at last line.c+(elen_*2/3,0)} line to Zero chop 0 chop -elen_ line up_ (Vs.y-Here.y)/3 |