Producing 3D Graphs with Code: Is There an Easy Way?

  • Thread starter Thread starter lukus09
  • Start date Start date
  • Tags Tags
    3d Code Graphs
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 11K views
lukus09
Messages
32
Reaction score
0
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?
 
Physics news on Phys.org
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