Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Mathematica - ListPlot3D - Any help much appreciated

  1. Nov 26, 2004 #1
    I would be most grateful if someone could help me. Basically, it would be a good idea to open up the attachment (paste into Mathematica) and then read on.

    Notice that “compStrats” is a function that in effect creates a list from a table.

    You would also notice that the output is in a funny matrix form with quite a few “{“’s.

    I was wondering if someone would adjust the code, or add a function (preferably using ListPlot3D) that could create a 3D graph with the following.

    x axis: the parameter values as stated in compStrats, i.e. from 0 to 1
    y axis: the parameter values as stated in compStrats, i.e. from 0 to 1
    z axis: output – where it can be generalised which index values we want to plot, so if I wanted the first value of each output, it would graph -2, -2, 1, and so on, and vice versa.

    As an example: the upper left value is x = 0, y = 0, z = -2 (by taking first value)

    I think that the y increments for each x, but I may be wrong. I hope someone knows what I want to do.


    Attached Files:

  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted

Similar Threads - Mathematica ListPlot3D help Date
Mathematica Cannot do the integral of the Hyper-geometric function? Mar 11, 2018
Mathematica Cannot Plot This Function in Mathematica Feb 26, 2018
Mathematica While Loop in Mathematica Feb 25, 2018
Mathematica Mathematica Real Part Feb 24, 2018
Issue with ListPlot3D Mathematica Feb 9, 2015