你难道就不能根据这个你的这个图去用 SVG 画一张示意图吗?生成一个 SVG 的这个向量图。
数学:椭圆从发现到定义的奇妙之旅
创建时间:04-15 17:49

导出时间:2026/5/19 09:06:08
来源地址:https://www.doubao.com/chat/38421645524000002
消息数量:11

ellipse_proof.svg<svg width="800" height="500" xmlns="http://www.w3.org/2000/svg">
<!-- 样式 -->
<style>
.ellipse { stroke: #1f61b3; stroke-width: 3; fill: none; }
.axis { stroke: #444; stroke-width: 1.5; stroke-dasharray: none; }
.focus { fill: #d32f2f; r: 6; }
.pointP { fill: #2e7d32; r: 6; }
.pointM { fill: #ff8f00; r: 5; }
.label { font-family: Arial; font-size: 16px; fill: #333; }
.lineAux { stroke: #666; stroke-width: 1.2; stroke-dasharray: none; }
.triangleHighlight { fill: rgba(0,0,0,0.07); }
</style>
<!-- 椭圆参数 -->
<defs>
<ellipse id="ellipse" cx="400" cy="250" rx="280" ry="160" />
</defs>
<!-- 椭圆本体 -->
<use href="#ellipse" class="ellipse" />
<!-- 长轴 AB -->
<line x1="120" y1="250" x2="680" y2="250" class="axis" />
<text x="115" y="240" class="label">A</text>
<text x="685" y="240" class="label">B</text>
<!-- 中心 O -->
<circle cx="400" cy="250" r="4" fill="#333" />
<text x="405" y="245" class="label">O</text>
<!-- 焦点 F1, F2 -->
<circle cx="280" cy="250" r="6" class="focus" />
<circle cx="520" cy="250" r="6" class="focus" />
<text x="270" y="235" class="label">F₁</text>
<text x="525" y="235" class="label">F₂</text>
<!-- 任意点 P -->
<circle cx="540" cy="211.68" r="6" class="pointP" />
<text x="545" y="205" class="label">P</text>
<!-- 点 M: 垂足 -->
<circle cx="540" cy="250" r="5" class="pointM" />
<text x="545" y="265" class="label">M</text>
<!-- 辅助线 PM(垂直长轴) -->
<line x1="540" y1="211.68" x2="540" y2="288.32" class="lineAux" stroke-dasharray="5,3" />
<!-- 连线 PF1, PF2 -->
<line x1="540" y1="211.68" x2="280" y2="250" class="lineAux" />
<line x1="540" y1="211.68" x2="520" y2="250" class="lineAux" />
<!-- 高亮两个直角三角形 -->
<polygon points="280,250 540,250 540,211.68" class="triangleHighlight" />
<polygon points="520,250 540,250 540,211.68" class="triangleHighlight" />
<!-- 直角符号(简易) -->
<path d="M540,250 l-15,0 l0,-15 l15,15" stroke="#333" stroke-width="1.2" fill="none" />
<path d="M540,250 l-12,0 l0,-12 l12,12" stroke="#333" stroke-width="1" fill="none" />
<!-- 标注文字说明 -->
<text x="120" y="320" class="label" font-size="15">
目标:证明 PF₁ + PF₂ = 定值(= AB = 2a)
</text>
<text x="120" y="345" class="label" font-size="15">
图示核心:直角三角形构造 + 勾股定理 → 距离和不变性
</text>
</svg>