请考虑:
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网格”
答案 0 :(得分: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]