idger.blogg.se

Listplot3d mathematica
Listplot3d mathematica






listplot3d mathematica listplot3d mathematica

Suppose "w" takes values from 0 to 1, I want that 0 corresponds to "blue" and 1 corresponds to "red", and all values in-between is the gradient between "blue" and "red". for each point in "f" I would like to have the colour determined by the value of "w". Now I want to have this plot but with colours determined by the weights, i.e. To plot the function f(x,y) I do the following: f = Import

listplot3d mathematica

So for each data point in f(x,y) we have the corresponding weight w(x,y). Here x and y are the coordinates in the Cartesian framework, f(x,y) is some function that depends on x and y, and w(x,y) is another function that represents weights of the function f. I would like to use ListPlot3D to make a 3D plot using a file containing the following information (4 columns): x, y, f(x,y), w(x,y).








Listplot3d mathematica