Düzenleme Ben to your previous question ilgili bir bağlamda iki olası çözümlerin aşağıda vereceğim. Yine de, Yaroslav'un kodunun daha iyi olduğunu lütfen unutmayın. o işlemek için beni tanır gibi stilleri birleştirmek
f[x_, y_] := x^2 + y^2;
t = Graphics3D[{PointSize[Large], Red, [email protected]
Flatten[Table[{x, y, f[x, y]}, {x, 0, 10, 1}, {y, 1, 2, 1}], 1]}];
b = Plot3D[f[x, y], {x, -10, 10}, {y, -10, 10},
ColorFunction -> "MintColors"];
Show[{b, t}]
Ya
f[x_, y_] := x^2 + y^2;
points = Flatten[Table[{x, y, f[x, y]}, {x, 0, 10, 1}, {y, 1, 2, 1}],
1];
a = ListPointPlot3D[points,
PlotStyle -> Table[{Red, PointSize[0.05]}, {[email protected]}]];
b = Plot3D[f[x, y], {x, -10, 10}, {y, -10, 10},
ColorFunction -> "MintColors"];
Show[{b, a}]
her zaman bu tek unutmayın. –