1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Matlab 3d graph

  1. Mar 13, 2009 #1
    i can produce 2d graphs with my code but i need to produce 3d aswell, is there no easy way i can produce a 3d graph?
     
  2. jcsd
  3. Mar 13, 2009 #2
    Of course you can create 3d plots in MATLAB... the function is called plot3 and instead of taking an X and Y argument, it takes X, Y and Z. See MATLAB help for more detail.

    Are you looking for something that is more similar to ezplot? There is also a function called ezplot3, but it works only for parametric equations (you need three separate functions instead of F(x,y,z).

    -Kerry
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Matlab 3d graph
  1. Graphs in matlab (Replies: 2)

  2. Graphs in matlab (Replies: 9)

  3. Matlab 3d plotting (Replies: 1)

Loading...