\documentclass{article}
\usepackage{pgfplots}
\usepackage{tkz-euclide}
\usetkzobj{all}
\begin{document}
\begin{tikzpicture}
\tkzInit[xmax=25,ymax=25]
\tkzDefPoint(0,0){C}
\tkzDefPoint(0,2){B}
\tkzDefPoint(0,4){A}
\tkzDefPoint(4,0){F}
\tkzDefPoint(4,2){E}
\tkzDefPoint(4,4){D}
\tkzDrawPoints[color=black,shape=circle,fill=black](C, B, A, D, E, F)
\tkzLabelPoint[left](C){$C$}
\tkzLabelPoint[left](B){$B$}
\tkzLabelPoint[left](A){$A$}
\tkzLabelPoint[right](D){$D$}
\tkzLabelPoint[right](E){$E$}
\tkzLabelPoint[right](F){$F$}
\tkzDrawSegments(A,D A,E A,F)
\tkzDrawSegments(B,D B,E B,F)
\tkzDrawSegments(C,D C,E C,F)
\end{tikzpicture}
\end{document}
问题:如何增加和减少 tkz 点的大小?
答案1
size=<number>
,以磅为单位指定大小,或size=<length>
(例如size=5mm
)。添加到\tkzDrawPoints
选项中。
\documentclass{article}
\usepackage{tkz-euclide}
\usetkzobj{all}
\begin{document}
\begin{tikzpicture}
\tkzInit[xmax=25,ymax=25]
\tkzDefPoint(0,0){C}
\tkzDefPoint(0,2){B}
\tkzDefPoint(0,4){A}
\tkzDefPoint(4,0){F}
\tkzDefPoint(4,2){E}
\tkzDefPoint(4,4){D}
\tkzDrawPoints[color=black,shape=circle,fill=black,size=15](C, B, A, D, E, F)
\tkzLabelPoints[left](A,B,C)
\tkzLabelPoints[right](D,E,F)
\tkzDrawSegments(A,D A,E A,F)
\tkzDrawSegments(B,D B,E B,F)
\tkzDrawSegments(C,D C,E C,F)
\end{tikzpicture}
\end{document}