Results 1 to 7 of 7

Math Help - matlab 3D-4D graphic plot

  1. #1
    Newbie
    Joined
    Oct 2008
    Posts
    4

    matlab 3D-4D graphic plot

    I have to plot a variable e.g f(x,y,z) in complete 3D space (x,y,z).
    Normally in 3D plots we use two axis and take the variable along 3rd axis to see the variations. But I am not clear how to do this in full 3D with all three axis and a variable as fourth axis parameter.

    Can anyone help me go through this?

    Thanks in anticipation!
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    4
    Quote Originally Posted by Shafiq View Post
    I have to plot a variable e.g f(x,y,z) in complete 3D space (x,y,z).
    Normally in 3D plots we use two axis and take the variable along 3rd axis to see the variations. But I am not clear how to do this in full 3D with all three axis and a variable as fourth axis parameter.

    Can anyone help me go through this?

    Thanks in anticipation!
    I would suggest you type "matlab 4d plot" into Google and look at what that throws up.

    CB
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Super Member
    Joined
    Aug 2008
    Posts
    903
    Hey guys. Hope the animation file below is not too annoying. That's how I'd think to represent 4D: The file shows x^3+y^2-z^2=w as  w varies from -2 to 2. So just make a bunch of 3D plots for f(x,y,z)=w for a range of w, then store them to a GIF file right?
    Attached Thumbnails Attached Thumbnails matlab 3D-4D graphic plot-animatea.gif  
    Follow Math Help Forum on Facebook and Google+

  4. #4
    Newbie
    Joined
    Oct 2008
    Posts
    4

    Thanks!

    Thnaks CB for your response and a suggestion!

    I will try it out!

    Regards,
    Follow Math Help Forum on Facebook and Google+

  5. #5
    Newbie
    Joined
    Oct 2008
    Posts
    4

    Thanks!

    Thank you Shawsend!

    But, since I am not very good at Matlab, so still not very much clear that how to do it practically!

    Any more suggestion and help in this regard?


    Regards,
    Shafiq
    Follow Math Help Forum on Facebook and Google+

  6. #6
    Super Member
    Joined
    Aug 2008
    Posts
    903
    Quote Originally Posted by Shafiq View Post
    Thank you Shawsend!

    But, since I am not very good at Matlab, so still not very much clear that how to do it practically!

    Any more suggestion and help in this regard?


    Regards,
    Shafiq
    Yea, afraid you might ask that. Look, I did that in Mathematica (don't know Matlab). But I'd think you can at least plot static 3D plots in Matlab right? Then there must be some way to assemble these into a GIF file either in Matlab or using some other external program.
    Follow Math Help Forum on Facebook and Google+

  7. #7
    Newbie
    Joined
    Oct 2008
    Posts
    4

    4D Plot?

    Still looking for a detailed/comprehensive help!!!!!!!!!!!!!!!!!!!
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. 3D plot of z = (Matlab)
    Posted in the Math Software Forum
    Replies: 4
    Last Post: July 14th 2011, 08:22 PM
  2. matlab plot function
    Posted in the Math Software Forum
    Replies: 4
    Last Post: May 26th 2010, 07:03 AM
  3. Graphing a 3D Plot in Matlab
    Posted in the Math Software Forum
    Replies: 4
    Last Post: November 30th 2009, 08:44 AM
  4. [Matlab] 2D Sequence Plot in 3D
    Posted in the Math Software Forum
    Replies: 2
    Last Post: April 23rd 2009, 04:28 AM
  5. MatLab Plot
    Posted in the Math Software Forum
    Replies: 1
    Last Post: August 2nd 2008, 10:59 AM

Search Tags


/mathhelpforum @mathhelpforum