我正在尝试将石墨烯gnuplot
带结构绘制为两个曲面和底部的计数图,设置为,但我无法摆脱一些轴线,并且绘制轮廓的平面距离太远当我将它们放置在适当的视角时。set contour base
这是绘制图表的代码
# Setting ranges and function parameters
set xrange [-.55:.55]
set yrange [-1:1]
t=-3.033 s=0.129 a=1.43 * sqrt(3)
# Auxiliary functions
kx(x,y) = (2*pi/a) * (cos(pi/6)*x + sin(pi/6)*y) ky(x,y) = (2*pi/a) * (cos(pi/6)*x - sin(pi/6)*y)
w(x,y) = sqrt(1+4*cos(0.5*sqrt(3)*kx(x,y)*a)*cos(0.5*a*ky(x,y)) + 4*(cos(0.5*ky(x,y)*a))**2)
#functions to be plotted
e(x,y) = (t*w(x,y))/(1+s*w(x,y))
e_estrela(x,y) = (-t*w(x,y))/(1-s*w(x,y))
# Setting up 3D plot appearance
set hidden3d
set contour base set cntrparam levels discrete 0,0.5,1,2,4,8
set view 75, 31, 0.601098, 1.4385
set isosamples 60
# Removing unwanted stuff
unset xtics
unset ytics
unset ztics
unset key
splot e_estrela(x,y), e(x,y)
我得到的输出(使用pngcairo
终端,但我猜这不相关)是:
是否可以将轮廓基平面绘制得更靠近表面?去除那些垂直的黑线怎么样?
对于第一部分,我尝试玩wioth set zrange
,但没有成功。每次似乎都将基本平面绘制在低于最低 z 范围限制的某个 z 距离处。
想法?提前致谢!