3

请考虑 :

cAxes = {{{0, 0, 0}, {0, 0, 1}}, {{0, 0, 0}, {0, 1, 0}}, {{0, 0,0}, {1, 0, 0}}};

Graphics3D[{Line /@ cAxes}, Boxed -> False]

在此处输入图像描述

盒子里面可以有网格吗?我猜是“3D网格”

4

1 回答 1

8

这是我认为 Verbeia 正在尝试的重新设计版本:

cAxes = {{{0, 0, 0}, {0, 0, 1}}, {{0, 0, 0}, {0, 1, 0}}, {{0, 0, 
     0}, {1, 0, 0}}};

a = Graphics3D[{Line /@ cAxes}, Boxed -> False];

b = Graphics3D[{
      GrayLevel[0.5],
      Table[Line /@ {{{x, y, 0}, {x, y, 1}},
                     {{x, 0, y}, {x, 1, y}},
                     {{0, x, y}, {1, x, y}}},
        {x, 0, 1, 0.25},
        {y, 0, 1, 0.25}
      ]
    }];

Show[a, b]

在此处输入图像描述

于 2011-11-14T01:58:34.417 回答