- #1
anonamatron
- 1
- 0
Hi folks,
I'm trying to graph something in Mathematica, and honestly don't know where to start.
Imagine you have a rectangle in the x,z plane of a 3D space. Now, twist one end of the rectange so it's parallel to the y axis. The opposite end remains parallel to the x axis. Between the two, you basically have a line segment at each point along a segment of the z axis, with the angle it makes increasing steadily.
The best I've come up with is Plot3D[x Tan[\[Pi]/2 z/4], {x, -2, 2}, {z, 0, 4}] (the numbers are arbitrary), but that doesn't have the finite width I'm looking for - you can see the plane rotating all right, but no edges will ever come into view.
Have I explained that clearly enough?
Any ideas?
I'm trying to graph something in Mathematica, and honestly don't know where to start.
Imagine you have a rectangle in the x,z plane of a 3D space. Now, twist one end of the rectange so it's parallel to the y axis. The opposite end remains parallel to the x axis. Between the two, you basically have a line segment at each point along a segment of the z axis, with the angle it makes increasing steadily.
The best I've come up with is Plot3D[x Tan[\[Pi]/2 z/4], {x, -2, 2}, {z, 0, 4}] (the numbers are arbitrary), but that doesn't have the finite width I'm looking for - you can see the plane rotating all right, but no edges will ever come into view.
Have I explained that clearly enough?
Any ideas?