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 plots- How to plot 3D lines rather than surface?

  1. Jan 2, 2008 #1
    Hi all.
    I am using meshgrid and mesh to plot 3D graphs in MATLAB.
    Though my meshgrid is quite "discrete", MATLAB always try to generate surface for me.
    What I actually want is some discrete lines rather than the surface.
    Anyone can teach me how to obtain discrete lines?
     
  2. jcsd
  3. Jan 2, 2008 #2

    mda

    User Avatar

    I'm not quite sure what you want...
    Try looking at graph3d for the different plots.
    Perhaps waterfall is what you want?
     
  4. Jan 2, 2008 #3

    zyh

    User Avatar

    you can use plot3() to draw 3d lines.
    but I'm not sure what you really want!
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: MATLAB: 3D plots- How to plot 3D lines rather than surface?
  1. 3D plot using Matlab (Replies: 1)

  2. MATLAB, 3D plotting (Replies: 1)

Loading...