Files

128 lines
14 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" width="1110" height="820" viewBox="0 0 1110 820" role="img" aria-labelledby="title desc">
<title id="title">选择排序的逐轮交换过程</title>
<desc id="desc">根据教材扫描图人工重绘的矢量教学示意图。文字与线条可无损缩放。</desc>
<defs><marker id="arrow" markerWidth="9" markerHeight="9" refX="8" refY="4.5" orient="auto" markerUnits="userSpaceOnUse"><path d="M0 0 L9 4.5 L0 9 Z" fill="#417b63"/></marker></defs>
<rect width="1110" height="820" fill="white"/>
<g font-family="Microsoft YaHei, Noto Sans CJK SC, Arial, sans-serif" fill="#193b32" stroke-linecap="round" stroke-linejoin="round">
<text x="90" y="60.0" text-anchor="end" dominant-baseline="central" font-size="20" fill="#193b32">第一轮</text>
<rect x="105" y="25" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="133.5" y="46.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="133.5" y="78.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">4</text>
<rect x="171" y="25" width="57" height="76" rx="3" fill="#c7dfce" stroke="#417b63" stroke-width="2"/>
<text x="199.5" y="46.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♥</text>
<text x="199.5" y="78.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<rect x="237" y="25" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="265.5" y="46.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♣</text>
<text x="265.5" y="78.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">9</text>
<rect x="303" y="25" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="331.5" y="46.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="331.5" y="78.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">5</text>
<rect x="369" y="25" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="397.5" y="46.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♠</text>
<text x="397.5" y="78.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<path d="M133.5 104 V145 H199.5 V106" fill="none" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<line x1="133.5" y1="145" x2="133.5" y2="106" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<text x="166.5" y="163.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">交换</text>
<text x="90" y="235.0" text-anchor="end" dominant-baseline="central" font-size="20" fill="#193b32">第二轮</text>
<rect x="105" y="200" width="57" height="76" rx="3" fill="#c7dfce" stroke="#417b63" stroke-width="2"/>
<text x="133.5" y="221.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♥</text>
<text x="133.5" y="253.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<rect x="171" y="200" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="199.5" y="221.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="199.5" y="253.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">4</text>
<rect x="237" y="200" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="265.5" y="221.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♣</text>
<text x="265.5" y="253.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">9</text>
<rect x="303" y="200" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="331.5" y="221.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="331.5" y="253.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">5</text>
<rect x="369" y="200" width="57" height="76" rx="3" fill="#c7dfce" stroke="#417b63" stroke-width="2"/>
<text x="397.5" y="221.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♠</text>
<text x="397.5" y="253.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<line x1="166" y1="195" x2="166" y2="287" stroke="#417b63" stroke-width="2"/>
<text x="138.0" y="303.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">已排序</text>
<path d="M199.5 279 V320 H397.5 V281" fill="none" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<line x1="199.5" y1="320" x2="199.5" y2="281" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<text x="298.5" y="338.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">交换</text>
<text x="90" y="415.0" text-anchor="end" dominant-baseline="central" font-size="20" fill="#193b32">第三轮</text>
<rect x="105" y="380" width="57" height="76" rx="3" fill="#c7dfce" stroke="#417b63" stroke-width="2"/>
<text x="133.5" y="401.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♥</text>
<text x="133.5" y="433.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<rect x="171" y="380" width="57" height="76" rx="3" fill="#c7dfce" stroke="#417b63" stroke-width="2"/>
<text x="199.5" y="401.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♠</text>
<text x="199.5" y="433.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<rect x="237" y="380" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="265.5" y="401.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♣</text>
<text x="265.5" y="433.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">9</text>
<rect x="303" y="380" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="331.5" y="401.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="331.5" y="433.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">5</text>
<rect x="369" y="380" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="397.5" y="401.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="397.5" y="433.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">4</text>
<line x1="232" y1="375" x2="232" y2="467" stroke="#417b63" stroke-width="2"/>
<text x="171.0" y="483.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">已排序</text>
<path d="M265.5 459 V500 H331.5 V461" fill="none" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<line x1="265.5" y1="500" x2="265.5" y2="461" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<text x="298.5" y="518.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">交换</text>
<rect x="625" y="380" width="57" height="76" rx="3" fill="#c7dfce" stroke="#417b63" stroke-width="2"/>
<text x="653.5" y="401.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♥</text>
<text x="653.5" y="433.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<rect x="691" y="380" width="57" height="76" rx="3" fill="#c7dfce" stroke="#417b63" stroke-width="2"/>
<text x="719.5" y="401.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♠</text>
<text x="719.5" y="433.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<rect x="757" y="380" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="785.5" y="401.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="785.5" y="433.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">5</text>
<rect x="823" y="380" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="851.5" y="401.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♣</text>
<text x="851.5" y="433.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">9</text>
<rect x="889" y="380" width="57" height="76" rx="3" fill="#c7dfce" stroke="#417b63" stroke-width="2"/>
<text x="917.5" y="401.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="917.5" y="433.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">4</text>
<line x1="752" y1="375" x2="752" y2="467" stroke="#417b63" stroke-width="2"/>
<text x="691.0" y="483.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">已排序</text>
<path d="M785.5 459 V500 H917.5 V461" fill="none" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<line x1="785.5" y1="500" x2="785.5" y2="461" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<text x="851.5" y="518.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">交换</text>
<text x="90" y="595.0" text-anchor="end" dominant-baseline="central" font-size="20" fill="#193b32">第四轮</text>
<rect x="105" y="560" width="57" height="76" rx="3" fill="#c7dfce" stroke="#417b63" stroke-width="2"/>
<text x="133.5" y="581.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♥</text>
<text x="133.5" y="613.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<rect x="171" y="560" width="57" height="76" rx="3" fill="#c7dfce" stroke="#417b63" stroke-width="2"/>
<text x="199.5" y="581.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♠</text>
<text x="199.5" y="613.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<rect x="237" y="560" width="57" height="76" rx="3" fill="#c7dfce" stroke="#417b63" stroke-width="2"/>
<text x="265.5" y="581.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="265.5" y="613.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">4</text>
<rect x="303" y="560" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="331.5" y="581.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♣</text>
<text x="331.5" y="613.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">9</text>
<rect x="369" y="560" width="57" height="76" rx="3" fill="#c7dfce" stroke="#417b63" stroke-width="2"/>
<text x="397.5" y="581.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="397.5" y="613.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">5</text>
<line x1="298" y1="555" x2="298" y2="647" stroke="#417b63" stroke-width="2"/>
<text x="204.0" y="663.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">已排序</text>
<path d="M331.5 639 V680 H397.5 V641" fill="none" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<line x1="331.5" y1="680" x2="331.5" y2="641" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<text x="364.5" y="698.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">交换</text>
<text x="610" y="685.0" text-anchor="end" dominant-baseline="central" font-size="20" fill="#193b32">最终</text>
<rect x="625" y="650" width="57" height="76" rx="3" fill="#c7dfce" stroke="#417b63" stroke-width="2"/>
<text x="653.5" y="671.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♥</text>
<text x="653.5" y="703.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<rect x="691" y="650" width="57" height="76" rx="3" fill="#c7dfce" stroke="#417b63" stroke-width="2"/>
<text x="719.5" y="671.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♠</text>
<text x="719.5" y="703.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<rect x="757" y="650" width="57" height="76" rx="3" fill="#c7dfce" stroke="#417b63" stroke-width="2"/>
<text x="785.5" y="671.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="785.5" y="703.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">4</text>
<rect x="823" y="650" width="57" height="76" rx="3" fill="#c7dfce" stroke="#417b63" stroke-width="2"/>
<text x="851.5" y="671.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="851.5" y="703.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">5</text>
<rect x="889" y="650" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="917.5" y="671.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♣</text>
<text x="917.5" y="703.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">9</text>
<line x1="884" y1="645" x2="884" y2="737" stroke="#417b63" stroke-width="2"/>
<text x="757.0" y="753.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">已排序</text>
<text x="918" y="760.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">最大值</text>
</g></svg>