Forgot password?
 Create new account
View 526|Reply 7

为什么这样画不出来

[Copy link]

1

Threads

4

Posts

26

Credits

Credits
26

Show all posts

The_Asagao Posted at 2021-8-16 20:50:28 |Read mode
红色区域说是错误的,但第二个图为什么就可以?这个根号是怎么表示?
QQ截图20210816204511.png
QQ截图20210816204837.png

15

Threads

948

Posts

110K

Credits

Credits
12412

Show all posts

色k Posted at 2021-8-16 21:06:46
代码复制上来啊,不然我们怎么试验

1

Threads

4

Posts

26

Credits

Credits
26

Show all posts

 Author| The_Asagao Posted at 2021-8-16 21:21:07
回复 2# 色k
  1. \documentclass[tikz]{standalone}
  2. \usepackage{tkz-euclide}
  3. \tikzset{xyz/.style={y={(-135:0.5cm)},x={(1cm,0)},z={(0,1cm)}}}
  4. \tikzstyle{every node}=[font=\small]
  5. \begin{document}
  6.         \begin{tikzpicture}[xyz,line width=0.7pt,line join=round,scale=2.6]
  7.                 \coordinate(A)at(0,0,1);
  8.                 \coordinate(B)at(-1,0,0);
  9.                 \coordinate(C)at(1,0,0);
  10.                 \coordinate(D)at(1,2,0);
  11.                 \draw(B)--(D)--(C)--(A)--(B) (A)--(D);
  12.                 \draw[dashed,line width=0.4pt](B)--(C);
  13.                 \tkzLabelPoints[above](A);
  14.                 \tkzLabelPoints[right](C);
  15.                 \tkzLabelPoints[left](B);
  16.                 \tkzLabelPoints[below](D);
  17.         \end{tikzpicture}
  18. \end{document}
Copy the Code

1

Threads

4

Posts

26

Credits

Credits
26

Show all posts

 Author| The_Asagao Posted at 2021-8-16 21:22:40
回复 2# 色k
  1. \documentclass[tikz]{standalone}
  2. \usepackage{tkz-euclide}
  3. \tikzset{xyz/.style={y={(-135:0.5cm)},x={(1cm,0)},z={(0,1cm)}}}
  4. \tikzstyle{every node}=[font=\small]
  5. \begin{document}
  6.         \begin{tikzpicture}[xyz,line width=0.7pt,line join=round,scale=2.6]
  7.                 \coordinate(A)at(0,0,{\sqrt(3)});
  8.                 \coordinate(B)at(-{\sqrt(3)},0,0);
  9.                 \coordinate(C)at({\sqrt(3)},0,0);
  10.                 \coordinate(D)at({\sqrt(3)},2,0);
  11.                 \draw(B)--(D)--(C)--(A)--(B) (A)--(D);
  12.                 \draw[dashed,line width=0.4pt](B)--(C);
  13.                 \tkzLabelPoints[above](A);
  14.                 \tkzLabelPoints[right](C);
  15.                 \tkzLabelPoints[left](B);
  16.                 \tkzLabelPoints[below](D);
  17.         \end{tikzpicture}
  18. \end{document}
Copy the Code

701

Threads

110K

Posts

910K

Credits

Credits
94172
QQ

Show all posts

kuing Posted at 2021-8-16 21:46:10
回复 4# The_Asagao

去掉 \sqrt(3) 的 \ 即可,即:
  1. \coordinate(A)at(0,0,{sqrt(3)});
  2. \coordinate(B)at(-{sqrt(3)},0,0);
  3. \coordinate(C)at({sqrt(3)},0,0);
  4. \coordinate(D)at({sqrt(3)},2,0);
Copy the Code
酱紫

1

Threads

4

Posts

26

Credits

Credits
26

Show all posts

 Author| The_Asagao Posted at 2021-8-22 10:24:20
那这个分数\draw [thick] (frac{1}{3},0)--(2,0);怎么改成对的?

701

Threads

110K

Posts

910K

Credits

Credits
94172
QQ

Show all posts

kuing Posted at 2021-8-22 12:58:40
回复 6# The_Asagao

\draw [thick] (1/3,0)--(2,0);

1

Threads

4

Posts

26

Credits

Credits
26

Show all posts

 Author| The_Asagao Posted at 2021-8-22 19:34:37
感谢ku版回复 7# kuing

手机版Mobile version|Leisure Math Forum

2025-4-20 22:08 GMT+8

Powered by Discuz!

× Quick Reply To Top Return to the list