# How to plot points into a Graph [duplicate]

Let $f(x,y) = \frac{x^2}{2}+\frac{y^2}{2}$ and $M:=\{(x,y)\in\mathbb R^2 | \frac{x^2}{2}+y^2\leq1\}$

I'd like to plot $f, M$ and the points $p_1=(0,0,1), \ p_2=(\sqrt{2},0,1), \ p_3=(-\sqrt{2},0,1)$

What I got:

u1 = Plot3D[x^2/2 + y^2/2, {x, -2, 2}, {y, -2, 2}]
u2 = RegionPlot3D[x^2/2 + y^2/2 <= 1, {x, -2, 2}, {y, -2, 2}, {z, -2, 2}]
Show[u1,u2]


I read a bit in the docs and that I can use Point[] for it. But I just can't figure out how this works. Also, I'd like to make them very bright. Any help is appreciated.

• Graphics3D + Point – Kuba Jan 19 '17 at 9:53
• @Kuba epilog is for 2d only. – Feyre Jan 19 '17 at 9:55
• @Feyre right, I was too hasty. – Kuba Jan 19 '17 at 9:56
• hmm then I'd have been on the right track, since I tried that. I'll try it again. – xotix Jan 19 '17 at 9:57
• Use something like Show[Plot3D[(* stuff *)], RegionPlot3D[(* stuff *)], Graphics3D[{Green, Point[(* stuff *)]}]] – J. M.'s technical difficulties Jan 19 '17 at 9:57