|
回复 2# 色k - \documentclass[tikz]{standalone}
- \usepackage{tkz-euclide}
- \tikzset{xyz/.style={y={(-135:0.5cm)},x={(1cm,0)},z={(0,1cm)}}}
- \tikzstyle{every node}=[font=\small]
- \begin{document}
- \begin{tikzpicture}[xyz,line width=0.7pt,line join=round,scale=2.6]
- \coordinate(A)at(0,0,{\sqrt(3)});
- \coordinate(B)at(-{\sqrt(3)},0,0);
- \coordinate(C)at({\sqrt(3)},0,0);
- \coordinate(D)at({\sqrt(3)},2,0);
- \draw(B)--(D)--(C)--(A)--(B) (A)--(D);
- \draw[dashed,line width=0.4pt](B)--(C);
- \tkzLabelPoints[above](A);
- \tkzLabelPoints[right](C);
- \tkzLabelPoints[left](B);
- \tkzLabelPoints[below](D);
- \end{tikzpicture}
- \end{document}
复制代码 |
|