更新时间:2023-11-15 13:58:34
我认为***的方法是生成方程式的根表(在gnuplot之外),然后用散点图绘制该表.但是您可以通过尝试在gnuplot中获得所需的近似值
a=b=1
set para
set iso 30
set pm3d at s
set urange [-10:10]
set hidd
set view 47,192
splot a + u*v - b * v**3, u, v
Is it possible to plot the surface of the Cusp Catastrophe with Gnuplot? Here's a comparable plot.
I'm a gnu plot beginner, so I'd be really grateful for an example with source code.
(I study psychology and I need this plot for an essay about a clinical theory: the cusp catastrophe is used to describe changes of mood, that seem to appear more sudden and disruptive for depressive patients, compared to healthy persons.)
I think the best way would be to generate a table of roots of the equation (outside of gnuplot) and then plot the table with splot. But you can get an approximation to what you want in gnuplot by trying
a=b=1
set para
set iso 30
set pm3d at s
set urange [-10:10]
set hidd
set view 47,192
splot a + u*v - b * v**3, u, v