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.(adsbygoogle = window.adsbygoogle || []).push({});

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.

Thanks

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Mathematica - ListPlot3D - Any help much appreciated

Can you offer guidance or do you also need help?

Draft saved
Draft deleted

**Physics Forums | Science Articles, Homework Help, Discussion**