You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

使用Gnuplot的splot+hidden3d绘制3D曲面时边缘缺失问题

Gnuplot启用hidden3d后3D曲面边缘缺失问题

我从事气动稳定性分析工作,需编写通用脚本绘制特征向量的3D曲面。数据为有序多域网格,按Gnuplot手册格式存储于dat文件中,此前绘图无异常,但启用set hidden3d后,绘制的曲面边缘出现缺失。

所用脚本如下:

set term aqua
# Axis Ranges
# -------------
#set xrange []
set yrange [0:10]
#set zrange []

set hidden3d offset 0 # surface transparence(not see through) - offset 0 -> no color difference between upper and lower surface
set contour
set cntrparam level 10 # Number of contour levels
set cntrlabel onecolor # Colormap of contours

set xtics font "Times-Roman, 22"
set ytics font "Times-Roman, 22"
set ztics font "Times-Roman, 22"

set xlabel "Z-Axis" offset -0.1,1 font "Times-Roman,22" rotate by 0 # offset <x,y>
set ylabel "Y-Axis" offset 0.1,1 font "Times-Roman,22" rotate by 0 # offset <x,y>
set zlabel "X-Axis" offset -0.1,1 font "Times-Roman,22" rotate by 90 # offset <x,y>

splot 'mode.csv' w l linetype -1 notitle

无hidden3d的绘图:
无hidden3d的3D曲面图

启用hidden3d的绘图:
启用hidden3d的3D曲面图

内容的提问来源于stack exchange,提问作者vpezlar

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.11 21:28:16