gpt4 book ai didi

grid - "3d Grid"Graphics3D 中的盒子内部

转载 作者:行者123 更新时间:2023-12-01 09:35:54 26 4
gpt4 key购买 nike

请考虑:

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

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

enter image description here

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

最佳答案

这是我认为 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]

enter image description here

关于grid - "3d Grid"Graphics3D 中的盒子内部,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8115893/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com