Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Mathematica graphing problem - twisted plane

  1. Jun 9, 2010 #1
    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?
     
  2. jcsd
  3. Jun 9, 2010 #2

    phyzguy

    User Avatar
    Science Advisor

    Try ParametricPlot3D[{v, u Cos[v], -u Sin[v]}, {u, 0, 1}, {v, 0, \[Pi]/
    2}] . I think this is what you want. You might have to play with u and v, but I think you get the idea.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Mathematica graphing problem - twisted plane
Loading...