Forgot password?
 Register account
View 721|Reply 0

用MMA绘制空间中平面上的点与空间直线

[Copy link]
青青子衿 posted 2019-7-15 21:28 |Read mode
  1. Subscript[x, 1] = 2; Subscript[y, 1] = 3; Subscript[z, 1] = 4;
  2. Subscript[x, 2] = 1; Subscript[y, 2] = 5; Subscript[z, 2] = 2;
  3. X = 3; Y = 4; Z = 2;
  4. Show[ContourPlot3D[{Det[( {
  5.        {x - Subscript[x, 1], y - Subscript[y, 1], z - Subscript[z, 1]},
  6.        {x - Subscript[x, 2], y - Subscript[y, 2], z - Subscript[z, 2]},
  7.        {X, Y, Z}
  8.       } )] == 0, x y z == 0}, {x, 0, 9}, {y, 0, 9}, {z, 0, 9}],
  9. ListPointPlot3D[{{Subscript[x, 1], Subscript[y, 1], Subscript[z, 1]},
  10.       {Subscript[x, 2], Subscript[y, 2], Subscript[z, 2]}},
  11.   PlotStyle -> PointSize[0.03]],
  12. ParametricPlot3D[{3 t, 4 t, 2 t}, {t, 0, 20}]]
Copy the Code

Quick Reply

Advanced Mode
B Color Image Link Quote Code Smilies
You have to log in before you can reply Login | 快速注册

$\LaTeX$ formula tutorial

Mobile version

2025-6-8 10:32 GMT+8

Powered by Discuz!

Processed in 0.021735 second(s), 21 queries

× Quick Reply To Top Edit