如何在gnuplot中绘制与z轴平行的平面?

时间:2017-09-29 08:44:45

标签: plot geometry gnuplot plane

当绘制一个与z轴不平行的平面时,可以简单地求解关于z的方程,并使用splot将其绘制为x和y的函数。例如,在绘制平面x+y+z=1时,可以使用z(x, y)=1-x-y然后使用splot z(x, y)

但是当没有描述它的函数x+y=1时,如何在gnuplot中绘制平面z(x, y)

1 个答案:

答案 0 :(得分:2)

使用参数模式绘制这样的平面:

BuildParams.TestDLLPath  = File("./test.dll");

RunTests();


public static void RunTests()
{
    // do stuff with BuildParams.TestDLLPath
}

public static class BuildParams
{
   public static FilePath TestDLLPath { get; set; }    
}

enter image description here

对于记录,这里是生成上述情节的完整代码:

set parametric
splot 2 - u, u, v w l