nex_math/data/question_images/generated_4fbdf3c628c047fbb...

15 lines
1.2 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300" width="400" height="300">
<defs><marker id="arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse"><path d="M 0 0 L 10 5 L 0 10 z" fill="black"/></marker></defs>
<line x1="20" y1="250" x2="380" y2="250" stroke="black" stroke-width="1.5" marker-end="url(#arrow)"/>
<line x1="200" y1="280" x2="200" y2="20" stroke="black" stroke-width="1.5" marker-end="url(#arrow)"/>
<polyline points="80,10 120,90 280,90 320,10" fill="none" stroke="blue" stroke-width="2"/>
<circle cx="120" cy="90" r="3" fill="black"/>
<circle cx="280" cy="90" r="3" fill="black"/>
<text x="120" y="265" font-family="serif" font-size="14" text-anchor="middle">-2</text>
<text x="280" y="265" font-family="serif" font-size="14" text-anchor="middle">2</text>
<text x="185" y="95" font-family="serif" font-size="14" text-anchor="end">4</text>
<text x="90" y="80" font-family="serif" font-size="12" text-anchor="middle">(-2, 4)</text>
<text x="310" y="80" font-family="serif" font-size="12" text-anchor="middle">(2, 4)</text>
<text x="380" y="265" font-family="serif" font-size="14" font-style="italic">x</text>
<text x="210" y="25" font-family="serif" font-size="14" font-style="italic">y</text>
</svg>