Best practice to plot 3D geometry figure

120 Views Asked by At

I want to plot something like this? But the tools I found is not so convenient to plot such figure.

Specifically, I want to draw some 3D shape (eg f(x,y) and tangent plane at some points, and some latex math text to explain). I use python a lot, it is very difficult to use the popular matplotlib to plot such figures? I also know a little about tikz, it can generate high quality figures, but writing tikz code is not so friendly.

enter image description here

The source for the figure, link