Advertisement
Guest User

Untitled

a guest
Jun 25th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. a1 := SliceContourPlot3D[z,
  2. x == 0, {x, -5, 5}, {y, -5, 5}, {z, -5, 5}, Background -> Black,
  3. ContourShading -> White, Contours -> 9,
  4. TicksStyle -> {Red, Green, Blue}]
  5. a2 := SliceContourPlot3D[z,
  6. y == 0, {x, -5, 5}, {y, -5, 5}, {z, -5, 5}, ContourShading -> White,
  7. Contours -> 9]
  8. b1 := SliceContourPlot3D[x,
  9. y == 0, {x, -5, 5}, {y, -5, 5}, {z, -5, 5}, ContourShading -> White,
  10. Contours -> 9]
  11. b2 := SliceContourPlot3D[x,
  12. z == 0, {x, -5, 5}, {y, -5, 5}, {z, -5, 5}, ContourShading -> White,
  13. Contours -> 9]
  14. c1 := SliceContourPlot3D[y,
  15. x == 0, {x, -5, 5}, {y, -5, 5}, {z, -5, 5}, ContourShading -> White,
  16. Contours -> 9]
  17. c2 := SliceContourPlot3D[y,
  18. z == 0, {x, -5, 5}, {y, -5, 5}, {z, -5, 5}, ContourShading -> White,
  19. Contours -> 9]
  20. p := Graphics3D[{PointSize -> 0.05, Point[{3, 2, 2}], Red,
  21. Arrowheads[0.1], Thick, Line[{{0, 2, 2}, {3, 2, 2}}],
  22. Arrow[{{0, 0, 5}, {3, 0, 5}}], Green, Line[{{3, 0, 2}, {3, 2, 2}}],
  23. Arrow[{{0, 0, 5}, {0, 3, 5}}], Blue, Line[{{3, 2, 0}, {3, 2, 2}}],
  24. Arrow[{{5, 0, 0}, {5, 0, 3}}]}]
  25.  
  26. Show[a1, a2, b1, b2, c1, c2, p]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement