gnuplot3d:x+;y=常数

gnuplot3d:x+;y=常数,gnuplot,Gnuplot,如何绘制垂直平面,该平面由以下各项表示: x+y=1 ^ | 1y | \ | \ | \ <-- this vertical plane | \

如何绘制垂直平面,该平面由以下各项表示:
x+y=1

                        ^
                        |
                     1y | \
                        |   \
                        |     \ <-- this vertical plane
                        |       \
                        |         \
<-----------------------+----------------------->
              -1x       |         -1x
                        |
                        |
                        |
                    -1y |
                        |
                        v
^
|
1y|\
|   \

|\您可以使用
参数化
绘制3D方程,如下所示:

f(x,y) = sin(x**2 + y**2)/(x**2 + y**2)
set parametric
splot u,v,f(u,v)
与平面一起,完整的脚本可以如下所示:

set parametric

f(x,y) = sin(x**2 + y**2)/(x**2 + y**2)
const = 5
set xrange [-5:5]
set yrange [-5:5]
set ticslevel 0
splot u,const-u,v title 'plane', u,v,f(u,v) title '3D equation'
对于实际用例,您可能需要缩放用作平面z轴的
v
,也可能缩放urange和vrange


它在stackoverflow的主题上吗?@ikh是的,它在这里的主题上。为什么不呢?谢谢你,很有魅力!我在谷歌上搜索了几个小时,想找到一种通过
参数化表达正常3D方程的方法,你的例子也是解决这个问题的方法!