Files

33 lines
3.4 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 760 310" width="760" height="310"><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">
<rect x="15" y="20" width="40" height="40" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="35.0" y="40.0" text-anchor="middle" dominant-baseline="central" font-size="18">2</text>
<rect x="55" y="20" width="40" height="40" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="75.0" y="40.0" text-anchor="middle" dominant-baseline="central" font-size="18">1</text>
<rect x="95" y="20" width="40" height="40" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="115.0" y="40.0" text-anchor="middle" dominant-baseline="central" font-size="18">7</text>
<rect x="15" y="60" width="40" height="40" stroke="#67859e" fill="#c7d6e6" stroke-width="1.5"/>
<text x="35.0" y="80.0" text-anchor="middle" dominant-baseline="central" font-size="18">6</text>
<rect x="55" y="60" width="40" height="40" stroke="#67859e" fill="#c7d6e6" stroke-width="1.5"/>
<text x="75.0" y="80.0" text-anchor="middle" dominant-baseline="central" font-size="18">5</text>
<rect x="95" y="60" width="40" height="40" stroke="#67859e" fill="#c7d6e6" stroke-width="1.5"/>
<text x="115.0" y="80.0" text-anchor="middle" dominant-baseline="central" font-size="18">4</text>
<rect x="15" y="100" width="40" height="40" stroke="#67859e" fill="#c7d6e6" stroke-width="1.5"/>
<text x="35.0" y="120.0" text-anchor="middle" dominant-baseline="central" font-size="18">3</text>
<rect x="55" y="100" width="40" height="40" stroke="#67859e" fill="#c7d6e6" stroke-width="1.5"/>
<text x="75.0" y="120.0" text-anchor="middle" dominant-baseline="central" font-size="18">9</text>
<rect x="95" y="100" width="40" height="40" stroke="#67859e" fill="#c7d6e6" stroke-width="1.5"/>
<text x="115.0" y="120.0" text-anchor="middle" dominant-baseline="central" font-size="18">8</text>
<text x="75" y="250" text-anchor="middle" dominant-baseline="central" font-size="17">原正方形</text>
<path d="M150 105L195 105" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
<rect x="285" y="20" width="40" height="40" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="305.0" y="40.0" text-anchor="middle" dominant-baseline="central" font-size="18">7</text>
<rect x="285" y="60" width="40" height="40" stroke="#67859e" fill="#c7d6e6" stroke-width="1.5"/>
<text x="305.0" y="80.0" text-anchor="middle" dominant-baseline="central" font-size="18">6</text>
<rect x="285" y="100" width="40" height="40" stroke="#67859e" fill="#c7d6e6" stroke-width="1.5"/>
<text x="305.0" y="120.0" text-anchor="middle" dominant-baseline="central" font-size="18">9</text>
<text x="305" y="250" text-anchor="middle" dominant-baseline="central" font-size="17">按行求最值</text>
<path d="M340 105L385 105" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
<rect x="555" y="20" width="40" height="40" stroke="#67859e" fill="#c7d6e6" stroke-width="1.5"/>
<text x="575.0" y="40.0" text-anchor="middle" dominant-baseline="central" font-size="18">9</text>
<text x="575" y="250" text-anchor="middle" dominant-baseline="central" font-size="17">按列求最值</text>
</g></svg>