🕒 已运行:
0d 0h 0m 0s
🕯️谨此怀念方大同先生
输入GGB代码
\documentclass[10pt]{article} \usepackage{pgfplots} \pgfplotsset{compat=1.15} \usepackage{mathrsfs} \usetikzlibrary{arrows} \pagestyle{empty} \begin{document} \definecolor{ududff}{rgb}{0.30196078431372547,0.30196078431372547,1} \definecolor{xdxdff}{rgb}{0.49019607843137253,0.49019607843137253,1} \definecolor{uuuuuu}{rgb}{0.26666666666666666,0.26666666666666666,0.26666666666666666} \begin{tikzpicture}[line cap=round,line join=round,>=triangle 45,x=1cm,y=1cm] \begin{axis}[ x=1cm,y=1cm, axis lines=middle, ymajorgrids=true, xmajorgrids=true, xmin=-3.743315809262022, xmax=9.175326950288733, ymin=-3.332572693316388, ymax=5.603304641484998, xtick={-3,-2,...,9}, ytick={-3,-2,...,5},] \clip(-3.743315809262022,-3.332572693316388) rectangle (9.175326950288733,5.603304641484998); \draw [line width=2pt] (0,0)-- (4,0); \draw [line width=2pt] (4.280146173687662,3.4453699204389583)-- (4,0); \draw [line width=2pt] (4.280146173687662,3.4453699204389583)-- (0,0); \draw [line width=2pt] (2.0090344308096597,1.617203365527609)-- (4,0); \draw [line width=2pt] (2.0090344308096597,1.617203365527609)-- (4.132361586114987,1.6278452831221129); \begin{scriptsize} \draw [fill=uuuuuu] (0,0) circle (2pt); \draw[color=uuuuuu] (0.10910456522284437,0.2808817556835242) node {$D$}; \draw [fill=xdxdff] (4,0) circle (2.5pt); \draw[color=xdxdff] (4.120835556697686,0.3098473224089744) node {$E$}; \draw [fill=ududff] (4.280146173687662,3.4453699204389583) circle (2.5pt); \draw[color=ududff] (4.396008440589462,3.756749762737548) node {$A$}; \draw [fill=xdxdff] (2.0090344308096597,1.617203365527609) circle (2.5pt); \draw[color=xdxdff] (2.122211452641628,1.9319190590341855) node {$B$}; \draw [fill=xdxdff] (4.132361586114987,1.6278452831221129) circle (2.5pt); \draw[color=xdxdff] (4.251180606962212,1.9464018423969105) node {$C$}; \end{scriptsize} \end{axis} \end{tikzpicture} \end{document}
包含点标记
包含点标签
坐标四舍五入到3位小数
🧹
清理代码
🗑️
清空
输出简洁代码
📋
复制代码
🔗
分享
QQ群:
1029757969
B站ID:
@礼貌小猫咪
项目地址:
https://gitee.com/Jack0920/ggb-tikz-code-filter
版本信息与视频教程
视频教程
版本信息
2026.01.06
版本 0.0.1
已发布
优化数值为3位小数
绘制小圆点
绘制线段
绘制圆
绘制点标签
2026.01.08
版本 0.0.2
已发布
新增线型转换(虚线、点线、点虚线)
新增绘制各种圆弧
新增绘制多边形
2026.01.10
版本 0.0.3
已发布
新增绘制椭圆及其线型
新增绘制角度及角度标签
新增绘制圆及圆弧的线型
2026.01.11
版本 0.0.4
已发布
新增绘制函数及其线型
新增绘制文本标签
设置网站域名为
GeoTikTrim.site
即将发布
版本 0.0.5
开发中
绘制扇形
...