57 lines
2.1 KiB
XML
57 lines
2.1 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" width="900" height="420" viewBox="0 0 900 420">
|
||
<rect width="100%" height="100%" fill="white"/>
|
||
<style>
|
||
.wire { stroke:#111; stroke-width:4; fill:none; stroke-linecap:round; stroke-linejoin:round; }
|
||
.thin { stroke:#111; stroke-width:3; fill:none; stroke-linecap:round; stroke-linejoin:round; }
|
||
.term { stroke:#111; stroke-width:4; fill:white; }
|
||
.label { font-family: "Times New Roman", "Noto Serif", serif; font-size:38px; fill:#111; font-style:italic; }
|
||
.pm { font-family: "Times New Roman", "Noto Serif", serif; font-size:38px; fill:#111; }
|
||
.caption { font-family: "Noto Serif CJK SC", "SimSun", serif; font-size:28px; fill:#111; }
|
||
</style>
|
||
|
||
<!-- left terminals -->
|
||
<circle class="term" cx="100" cy="110" r="12"/>
|
||
<circle class="term" cx="100" cy="310" r="12"/>
|
||
|
||
<!-- polarity and input voltage label -->
|
||
<text class="pm" x="42" y="124">+</text>
|
||
<text class="pm" x="46" y="324">−</text>
|
||
<text class="label" x="54" y="222">u<tspan baseline-shift="sub" font-size="24">i</tspan></text>
|
||
|
||
<!-- top wire to inductor -->
|
||
<path class="wire" d="M112 110 L240 110"/>
|
||
|
||
<!-- inductor -->
|
||
<path class="wire" d="
|
||
M240 110
|
||
C250 78, 290 78, 300 110
|
||
C310 78, 350 78, 360 110
|
||
C370 78, 410 78, 420 110
|
||
C430 78, 470 78, 480 110
|
||
C490 78, 530 78, 540 110
|
||
"/>
|
||
<text class="label" x="365" y="62">L</text>
|
||
|
||
<!-- wire between inductor and capacitor -->
|
||
<path class="wire" d="M540 110 L610 110"/>
|
||
|
||
<!-- capacitor -->
|
||
<path class="wire" d="M610 70 L610 150"/>
|
||
<path class="wire" d="M650 70 L650 150"/>
|
||
<path class="wire" d="M650 110 L760 110"/>
|
||
<text class="label" x="623" y="62">C</text>
|
||
|
||
<!-- right vertical to resistor -->
|
||
<path class="wire" d="M760 110 L760 165"/>
|
||
|
||
<!-- resistor -->
|
||
<rect x="725" y="165" width="70" height="100" fill="white" stroke="#111" stroke-width="4"/>
|
||
<text class="label" x="812" y="225">R</text>
|
||
|
||
<!-- bottom return wire -->
|
||
<path class="wire" d="M760 265 L760 310 L112 310"/>
|
||
|
||
<!-- subtle title/caption -->
|
||
<text class="caption" x="330" y="385">RLC 串联谐振电路</text>
|
||
</svg>
|