Files

26 lines
2.6 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 420 330" width="420" height="330"><title>斜率优化的几何解释</title><defs><marker id="a" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10Z" fill="#416687"/></marker></defs><rect width="100%" height="100%" fill="white"/><g font-family="Microsoft YaHei,Arial,sans-serif" fill="#263c52" stroke-linecap="round">
<path d="M40 250L390 250" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
<path d="M40 315L40 15" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
<text x="22" y="27" text-anchor="middle" dominant-baseline="central" font-size="19">fₖ</text>
<text x="376" y="277" text-anchor="middle" dominant-baseline="central" font-size="19">S꜀ₖ</text>
<text x="20" y="257" text-anchor="middle" dominant-baseline="central" font-size="19">O</text>
<path d="M10 195L345 235" fill="none" stroke="#67859e" stroke-width="2" stroke-dasharray="7 5"/>
<path d="M65 135L140 215" fill="none" stroke="#67859e" stroke-width="2" stroke-dasharray="7 5"/>
<path d="M140 215L230 198" fill="none" stroke="#67859e" stroke-width="2" stroke-dasharray="7 5"/>
<path d="M230 198L325 80" fill="none" stroke="#67859e" stroke-width="2" stroke-dasharray="7 5"/>
<circle cx="65" cy="135" r="5" fill="#829fbe" stroke="#416687" stroke-width="2"/>
<text x="55" y="113" text-anchor="middle" dominant-baseline="central" font-size="20">P1</text>
<circle cx="120" cy="150" r="5" fill="white" stroke="#416687" stroke-width="2"/>
<text x="110" y="128" text-anchor="middle" dominant-baseline="central" font-size="20">P2</text>
<circle cx="140" cy="215" r="5" fill="#829fbe" stroke="#416687" stroke-width="2"/>
<text x="130" y="239" text-anchor="middle" dominant-baseline="central" font-size="20">P3</text>
<circle cx="230" cy="198" r="5" fill="#829fbe" stroke="#416687" stroke-width="2"/>
<text x="220" y="222" text-anchor="middle" dominant-baseline="central" font-size="20">P4</text>
<circle cx="265" cy="117" r="5" fill="white" stroke="#416687" stroke-width="2"/>
<text x="255" y="95" text-anchor="middle" dominant-baseline="central" font-size="20">P5</text>
<circle cx="325" cy="80" r="5" fill="#829fbe" stroke="#416687" stroke-width="2"/>
<text x="315" y="58" text-anchor="middle" dominant-baseline="central" font-size="20">P6</text>
<text x="60" y="226" text-anchor="middle" dominant-baseline="central" font-size="19">k</text>
<text x="95" y="171" text-anchor="middle" dominant-baseline="central" font-size="19">k₁</text>
<text x="190" y="177" text-anchor="middle" dominant-baseline="central" font-size="19">k₂</text>
</g></svg>