Question: make consistent 3D plot out of point values

I want the resulting shape of the 3D matrix M (ٍExcel file) to be placed in below grids codes.
The range of x and y is between 0 and 1 and the range of z is 1/1 e-4 to 1/1 e-10.

PlotTest.xlsx


 

``

grids := proc (M, x_min, x_max, y_min, y_max) local z_min, z_max, plot_f, xz, yz, xy; z_min := 0.11e-6; z_max := 0.1e-2; plot_f := plot3d(M, x = x_min .. x_max, y = y_min .. y_max); xz := plot3d([x, y_min, z], x = x_min .. x_max, z = z_min .. z_max, style = line, color = blue, thickness = 0, grid = [6, 6]); yz := plot3d([x_min, y, z], y = y_min .. y_max, z = z_min .. z_max, style = line, color = blue, thickness = 0, grid = [6, 6]); xy := plot3d([x, y, z_min], x = x_min .. x_max, y = y_min .. y_max, style = line, color = blue, thickness = 0, grid = [6, 6]); return plots:-display(plot_f, xz, yz, xy, lightmodel = none, tickmarks = [6, 6, 6], labels = [x, y, "Error"], labeldirections = [horizontal, horizontal, vertical], axes = frame, orientation = [45, 70, 0], view = 0.11e-6 .. 0.1e-2) end proc

grids(M, 0, 1, 0, 1)

Warning, expecting only range variables [x, y] in expression M to be plotted but found name M

 

 

``

``


 

Download eeeeeee.mw

Please Wait...