1. img
    Come enter in the Dragon Ball Banner Contest!
    Deadline for entries: February 29th by 12:00pm UTC.
    Dismiss Notice
  2. img
    Bounced e-Mails Issue

    Some accounts cannot post in NF anymore due to an e-mail related issue!
    If you are among those members, please, check this thread for more information about how to proceed!
    Or create a support ticket by going here.
    Dismiss Notice
  3. Welcome to the forums! Take a second to look at our Beginner's Guide. It contains the information necessary for you to have an easier experience here.

    Thanks and have fun. -NF staff
    Dismiss Notice

matlab 3d plotting help

Discussion in 'Tech Hub' started by ahheng21, Sep 28, 2006.

  1. ahheng21

    Likes Received:
    Trophy Points:
    Oct 11, 2004
    im looking for a nice and easy way to create 3D plot of non-uniformly
    distributed data stored in 1D x, y and z vectors.
    For example, here is my data. For each x and y pair, there's z value as
    x, y, z
    30, 10, 1
    40, 10, 2
    50, 10, 3
    60, 10, 4
    70, 10, 5
    30, 12, 2
    40, 12, 3
    50, 12, 4
    30, 16, 7
    40, 16, 8
    50, 16, 7

    As you can see, there's different number of unique x and y values...

    i tried mesh, plot and surf but i still cant get what i want... can some pros help me/? TIA