如何用测地线绘制两张双曲面

问题描述

我想使用MATLAB或Python重新创建下面的图像(不带水印)。

This link对于绘制双曲线非常有用,但是除了显示的内容外,我没有做任何其他事情。我需要保持绿色的测地线。这样容易做到吗?

enter image description here

解决方法

在您具有双曲线方程式的情况下,检查fimplicit3函数:

fimplicit3(@(x,y,z) x.^2 + y.^2 - z.^2 + 1)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...