保存时间:2026/4/8 08:41:26
<line x1="0" y1="0" x2="100" y2="100" />它能直接被软件渲染成图,放大不失真,可编辑、可测量。.svg 或 .ai 文件。.svg,双击就能打开成矢量图。要不要我现在就给你写一段示范?.svg 后缀,双击就能打开矢量图。<svg width="400" height="400" xmlns="http://www.w3.org/2000/svg">
<!-- 坐标系 -->
<line x1="200" y1="0" x2="200" y2="400" stroke="black" stroke-width="1"/>
<line x1="0" y1="200" x2="400" y2="200" stroke="black" stroke-width="1"/>
<!-- 向量 OA: (100,100) -->
<line x1="200" y1="200" x2="300" y2="100" stroke="blue" stroke-width="2"/>
<polygon points="300,100 295,110 305,110" fill="blue"/>
<!-- 向量 OB: (-80,120) -->
<line x1="200" y1="200" x2="120" y2="80" stroke="red" stroke-width="2"/>
<polygon points="120,80 115,90 125,90" fill="red"/>
</svg>
vector.svg.svg 即可)<svg width="400" height="400" xmlns="http://www.w3.org/2000/svg">
<circle cx="200" cy="200" r="100" stroke="black" stroke-width="1" fill="none"/>
<line x1="100" y1="200" x2="300" y2="200" stroke="red" stroke-width="2"/>
<line x1="100" y1="200" x2="200" y2="100" stroke="blue" stroke-width="2"/>
<line x1="300" y1="200" x2="200" y2="100" stroke="blue" stroke-width="2"/>
<line x1="100" y1="200" x2="100" y2="100" stroke="gray" stroke-dasharray="4,2" stroke-width="1"/>
<line x1="300" y1="200" x2="300" y2="100" stroke="gray" stroke-dasharray="4,2" stroke-width="1"/>
</svg>
.svg 就是矢量图)<svg width="400" height="400" xmlns="http://www.w3.org/2000/svg">
<!-- 圆:圆心在原点(200,200),半径100(对应r=1) -->
<circle cx="200" cy="200" r="100" stroke="black" stroke-width="1.5" fill="none"/>
<!-- 两条直角边:都与圆相切 -->
<line x1="100" y1="0" x2="100" y2="400" stroke="blue" stroke-width="2"/>
<line x1="0" y1="300" x2="400" y2="300" stroke="blue" stroke-width="2"/>
<!-- 斜边:过圆心,是圆的一条直径所在直线 -->
<line x1="100" y1="300" x2="300" y2="100" stroke="red" stroke-width="2"/>
<!-- 圆心标记 -->
<circle cx="200" cy="200" r="4" fill="red"/>
</svg>
figure.svg → 双击打开就是矢量图。<svg width="400" height="400" xmlns="http://www.w3.org/2000/svg">
<!-- 圆:半径1,圆心在中间 -->
<circle cx="200" cy="200" r="100" stroke="black" stroke-width="1.5" fill="none"/>
<!-- 直角三角形:真正闭合的三角形!-->
<!-- 两条直角边都和圆相切 -->
<!-- 斜边是直径所在直线,并且经过圆心 -->
<polygon points="100,100 100,300 300,300"
stroke="blue" stroke-width="2" fill="none"/>
<!-- 斜边(三角形的斜边,同时是圆直径所在直线)-->
<line x1="100" y1="100" x2="300" y2="300"
stroke="red" stroke-width="2"/>
<!-- 圆心 -->
<circle cx="200" cy="200" r="4" fill="red"/>
</svg>
.svg 打开,一眼就看懂。<svg width="400" height="400" xmlns="http://www.w3.org/2000/svg">
<!-- 圆:半径100(对应r=1),圆心在中间 -->
<circle cx="200" cy="200" r="100" stroke="black" stroke-width="1.5" fill="none"/>
<!-- 直角三角形:两条直角边与圆相切,斜边过圆心 -->
<polygon points="100 100, 300 100, 100 300" stroke="blue" stroke-width="2" fill="none"/>
<!-- 斜边(直径所在直线) -->
<line x1="100" y1="300" x2="300" y2="100" stroke="red" stroke-width="2"/>
<!-- 你教的关键辅助线:圆心 → 切点,垂直于切线(虚线) -->
<line x1="200" y1="200" x2="200" y2="100" stroke="green" stroke-width="1.5" stroke-dasharray="5 5"/>
<line x1="200" y1="200" x2="100" y2="200" stroke="green" stroke-width="1.5" stroke-dasharray="5 5"/>
<!-- 圆心点 -->
<circle cx="200" cy="200" r="4" fill="red"/>
</svg>
<svg width="400" height="400" xmlns="http://www.w3.org/2000/svg">
<!-- 圆:半径100(对应r=1),圆心(200,200) -->
<circle cx="200" cy="200" r="100" stroke="black" stroke-width="1.5" fill="none"/>
<!-- 30° 直角三角形:两条直角边都与圆相切,斜边过圆心 -->
<polygon points="100 100 373.2 100 100 346.4"
stroke="blue" stroke-width="2" fill="none"/>
<!-- 斜边:过圆心 -->
<line x1="100" y1="346.4" x2="373.2" y2="100"
stroke="red" stroke-width="2"/>
<!-- 你教的核心辅助线:圆心→切点,垂直切线(虚线) -->
<line x1="200" y1="200" x2="200" y2="100"
stroke="green" stroke-width="1.5" stroke-dasharray="4 3"/>
<line x1="200" y1="200" x2="100" y2="200"
stroke="green" stroke-width="1.5" stroke-dasharray="4 3"/>
<!-- 圆心 -->
<circle cx="200" cy="200" r="4" fill="red"/>
</svg>
.svg)<svg width="400" height="300" xmlns="http://www.w3.org/2000/svg">
<!-- 30° 直角三角形 ABC -->
<polygon points="50,250 350,250 50,76.8"
stroke="#0066cc" stroke-width="2.5" fill="none"/>
<!-- 斜边 -->
<line x1="50" y1="76.8" x2="350" y2="250"
stroke="red" stroke-width="2"/>
<!-- 圆:圆心在斜边上,切两条直角边 -->
<circle cx="162" cy="181" r="69" stroke="green" stroke-width="1.8" fill="none"/>
<!-- 辅助线:圆心 → 切点,垂直切线(你教的关键虚线) -->
<line x1="162" y1="181" x2="162" y2="250"
stroke="green" stroke-dasharray="4 3" stroke-width="1.2"/>
<line x1="162" y1="181" x2="50" y2="181"
stroke="green" stroke-dasharray="4 3" stroke-width="1.2"/>
</svg>
.svg)<svg width="400" height="350" xmlns="http://www.w3.org/2000/svg">
<!-- 30°直角三角形 ABC,直角在原点 -->
<polygon points="50,300 323.2,300 50,113.4"
stroke="blue" stroke-width="2.5" fill="none"/>
<!-- 斜边 AB(红色) -->
<line x1="50" y1="113.4" x2="323.2" y2="300"
stroke="red" stroke-width="2"/>
<!-- 圆:圆心在斜边上,与两条直角边相切 -->
<circle cx="113.4" cy="236.6" r="63.4" stroke="green" stroke-width="1.8" fill="none"/>
<!-- 关键辅助线:圆心到两条直角边的垂线(虚线) -->
<line x1="113.4" y1="236.6" x2="113.4" y2="300"
stroke="green" stroke-dasharray="4 3" stroke-width="1.2"/>
<line x1="113.4" y1="236.6" x2="50" y2="236.6"
stroke="green" stroke-dasharray="4 3" stroke-width="1.2"/>
<!-- 圆心标记 -->
<circle cx="113.4" cy="236.6" r="4" fill="red"/>
</svg>
.svg)<svg width="400" height="350" xmlns="http://www.w3.org/2000/svg">
<!-- 30°直角三角形 ABC,直角在原点 -->
<polygon points="50,300 350,300 50,102.2"
stroke="blue" stroke-width="2.5" fill="none"/>
<!-- 斜边 AB(红色) -->
<line x1="50" y1="102.2" x2="350" y2="300"
stroke="red" stroke-width="2"/>
<!-- 圆:圆心在斜边上,与两条直角边相切 -->
<circle cx="163.4" cy="186.6" r="113.4" stroke="green" stroke-width="1.8" fill="none"/>
<!-- 关键辅助线:圆心到两条直角边的垂线(虚线) -->
<line x1="163.4" y1="186.6" x2="163.4" y2="300"
stroke="green" stroke-dasharray="4 3" stroke-width="1.2"/>
<line x1="163.4" y1="186.6" x2="50" y2="186.6"
stroke="green" stroke-dasharray="4 3" stroke-width="1.2"/>
<!-- 圆心标记 -->
<circle cx="163.4" cy="186.6" r="4" fill="red"/>
</svg>
.svg 就能打开:<svg width="400" height="400" xmlns="http://www.w3.org/2000/svg">
<!-- 脸轮廓 -->
<ellipse cx="200" cy="200" rx="120" ry="150" stroke="black" stroke-width="2" fill="white"/>
<!-- 眼睛 -->
<circle cx="150" cy="170" r="20" stroke="black" stroke-width="2" fill="white"/>
<circle cx="250" cy="170" r="20" stroke="black" stroke-width="2" fill="white"/>
<circle cx="150" cy="170" r="8" fill="black"/>
<circle cx="250" cy="170" r="8" fill="black"/>
<!-- 眉毛 -->
<line x1="130" y1="140" x2="170" y2="145" stroke="black" stroke-width="3"/>
<line x1="230" y1="145" x2="270" y2="140" stroke="black" stroke-width="3"/>
<!-- 鼻子 -->
<line x1="200" y1="170" x2="200" y2="230" stroke="black" stroke-width="2"/>
<!-- 嘴巴 -->
<path d="M160 270 Q200 290 240 270" stroke="black" stroke-width="2" fill="none"/>
</svg>
.svg 就能用。<svg width="400" height="400" xmlns="http://www.w3.org/2000/svg">
<!-- 坐标系 -->
<line x1="50" y1="350" x2="380" y2="350" stroke="#333" stroke-width="1.5"/>
<line x1="50" y1="350" x2="50" y2="20" stroke="#333" stroke-width="1.5"/>
<!-- y = √x 曲线 -->
<path d="M 50 350
L 83 317
L 116 293
L 150 275
L 183 260
L 216 245
L 250 229
L 283 214
L 316 199
L 350 183"
stroke="blue" stroke-width="2.5" fill="none" stroke-linecap="round"/>
</svg>
<svg width="400" height="350" xmlns="http://www.w3.org/2000/svg">
<!-- 坐标系 -->
<line x1="50" y1="300" x2="380" y2="300" stroke="#333" stroke-width="1.5"/>
<line x1="50" y1="300" x2="50" y2="20" stroke="#333" stroke-width="1.5"/>
<!-- 曲线1:y = 三次根号x → 增长很慢,平缓往上 -->
<path d="M 50 300
L 100 279
L 150 265
L 200 255
L 250 247
L 300 240
L 350 235"
stroke="blue" stroke-width="2.2" fill="none"/>
<!-- 曲线2:y = e^x → 一开始慢,后面直接冲天 -->
<path d="M 50 300
L 100 290
L 150 261
L 200 150
L 220 50"
stroke="red" stroke-width="2.2" fill="none"/>
</svg>
<svg width="500" height="400" xmlns="http://www.w3.org/2000/svg">
<!-- 复平面坐标系 -->
<line x1="50" y1="200" x2="450" y2="200" stroke="#666" stroke-width="1.5" />
<line x1="250" y1="50" x2="250" y2="350" stroke="#666" stroke-width="1.5" />
<text x="460" y="205" font-size="14">实轴 Re (结果的横坐标)</text>
<text x="255" y="60" font-size="14">虚轴 Im (结果的纵坐标)</text>
<circle cx="250" cy="200" r="3" fill="black" /> <!-- 原点 -->
<!-- 1. 原始实数 x (沿实轴向右) -->
<path d="M250 200 L450 200" stroke="gray" stroke-width="1.5" stroke-dasharray="5 3" />
<text x="400" y="220" font-size="12" fill="gray">x (原始实数)</text>
<!-- 2. 乘以 i,旋转90度 (沿虚轴向上) -->
<path d="M250 200 L250 50" stroke="green" stroke-width="1.5" stroke-dasharray="5 3" />
<text x="260" y="100" font-size="12" fill="green">i·x (旋转90°)</text>
<!-- 3. 核心结果:y = sqrt(i·x) (沿45°角平分线) -->
<!-- 这是一条直线,因为模长随x开方增长,角度固定45° -->
<path d="M250 200 L400 50" stroke="red" stroke-width="3" />
<text x="320" y="100" font-size="14" font-weight="bold" fill="red">√(i·x) (旋转45°)</text>
<!-- 角度标注:45度 -->
<path d="M250 200 m 80 0 a 80 80 0 0 1 0 80" stroke="#333" stroke-width="1" fill="none" />
<text x="280" y="150" font-size="12">45°</text>
</svg>
<svg width="500" height="400" xmlns="http://www.w3.org/2000/svg">
<!-- 复平面坐标系 -->
<line x1="50" y1="200" x2="450" y2="200" stroke="#666" stroke-width="1.5"/>
<line x1="250" y1="50" x2="250" y2="350" stroke="#666" stroke-width="1.5"/>
<circle cx="250" cy="200" r="3" fill="black"/>
<!-- 真正的函数轨迹:y = √(i x) -->
<path d="M250 200 L400 50" stroke="red" stroke-width="3" fill="none"/>
</svg>
<svg width="400" height="400" xmlns="http://www.w3.org/2000/svg">
<line x1="200" y1="50" x2="200" y2="350" stroke="#333" stroke-width="1.5"/>
<line x1="50" y1="200" x2="350" y2="200" stroke="#333" stroke-width="1.5"/>
<!-- y = i x:竖直线 -->
<path d="M200 200 L200 50" stroke="blue" stroke-width="3"/>
</svg>
<svg width="400" height="400" xmlns="http://www.w3.org/2000/svg">
<line x1="200" y1="50" x2="200" y2="350" stroke="#333" stroke-width="1.5"/>
<line x1="50" y1="200" x2="350" y2="200" stroke="#333" stroke-width="1.5"/>
<!-- y = √(i x):45° 直线 -->
<path d="M200 200 L350 50" stroke="red" stroke-width="3"/>
</svg>
y = i x 是竖直线,y = √(i x) 是 45° 直线,这两条完全不一样,对吗?
那在我看来,y=ix 就应该是一个沿 45 度的斜线呢?