+ Reply to Thread
Results 1 to 4 of 4

Surface Plot from raw X-Y-Z data?

  1. #1
    Registered User
    Join Date
    03-14-2015
    Location
    Scotland
    MS-Off Ver
    2013
    Posts
    7

    Surface Plot from raw X-Y-Z data?

    Hello,

    I'm trying to create a surface plot using X, Y & Z data from an analysis. I'm aware that it's technically not enough data to produce a surface plot but I can't even create a scatter plot of the data!

    In MATLAB you can easily get around this by using the following code:

    Please Login or Register  to view this content.
    This essentially works by utilizing the function "meshgrid" to create an arbitrary xg,yg mesh of sample points. Then in "griddata" it relates the created meshgrid data to your sample points to define a surface by interpolating between them.

    Is there a way of utilizing a similar method within excel to create such a plot?

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,472

    Re: Surface Plot from raw X-Y-Z data?

    Excel does not even have built in support for 3D scatter/surface plots at all. Excel is, therefore, not going to have a "fill in the gaps" routine for limited 3D scatter/surface data.

    We have occasionally talked about different ways to "mock up" a 3D scatter/surface plot in Excel. I'm sure within those strategies, if you knew the math/geometry behind your desired "interpolation" algorithm, you could include such an algorithm in your mock up of a 3D scatter plot. Unless you make it, there is not going to be a built in utility for this sort of thing in Excel.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    03-14-2015
    Location
    Scotland
    MS-Off Ver
    2013
    Posts
    7

    Re: Surface Plot from raw X-Y-Z data?

    Quote Originally Posted by MrShorty View Post
    Excel does not even have built in support for 3D scatter/surface plots at all. Excel is, therefore, not going to have a "fill in the gaps" routine for limited 3D scatter/surface data.

    We have occasionally talked about different ways to "mock up" a 3D scatter/surface plot in Excel. I'm sure within those strategies, if you knew the math/geometry behind your desired "interpolation" algorithm, you could include such an algorithm in your mock up of a 3D scatter plot. Unless you make it, there is not going to be a built in utility for this sort of thing in Excel.
    Okay, thanks for the clarification. I do find it odd that excel doesn't have this functionality as I'm yet to find another program that doesn't. I'm relatively new to excel so I doubt I'll even know where to start with coding for it.

    I was just hoping some excel wizards had created a VBA routine for it.

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,472

    Re: Surface Plot from raw X-Y-Z data?

    I don't know if I find it "odd" that microsoft has failed to add this functionality to Excel. I think it is more of a "we don't want to go to the effort of programming this feature into Excel until enough people request the feature and there are relatively few Excel users who even know what a 3D scatter chart is (I am surprised how often Excel users don't correctly distinguish between 2D line and scatter charts) let alone know how to correctly use a 3D scatter chart, so we are not going to bother, yet."

    Andy Pope has a nice 3D scatter plot simulator. http://andypope.info/charts/3drotate.htm
    I believe there are other applications out there (some free, some pay). You might put something like "3D scatter chart in Excel" into your favorite internet search engine.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Surface Plot Help Needed
    By bougo25 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-02-2013, 08:06 AM
  2. Surface Plot Will Not Rotate
    By SDruley in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-21-2010, 10:55 AM
  3. Plot 3D Coordinates (x,y,z) on 3D surface Map
    By R_S_6 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-09-2009, 09:15 AM
  4. [SOLVED] Surface Plot Creation
    By Ben H in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-17-2006, 09:15 AM
  5. CAD surface from EXCEL surface plot
    By tombemis in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 05-12-2005, 05:43 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1