【问题标题】:Gnuplot 3d graph, change plotting data from points to mesh-gridGnuplot 3d 图,将绘图数据从点更改为网格
【发布时间】:2013-07-04 20:27:01
【问题描述】:

在我拥有的previous question 中,我收到了修复 3d 图形标签的帮助。从那以后,我把我的 gnuplot 脚本改成了这样:

set isosamples 40
unset key
set label "Monitoring Period (sec)" at 50,-40,0
set xrange [0:60]
set label "Handover Size" at 85,0,0
set yrange [0:40]
set label "Handover Time (sec)" at -10,0,80
set zrange [0:70]
set grid
set term postscript eps enhanced color
set output "LenMonPerHndSizeHndTime.eps"
splot "lenMonPerHndSizeHndTime.dat" using 1:2:3 notitle    

数据与上一题相同。我的问题是我希望我的图表呈现一个网格(或网格,我不确定它是如何调用的)而不是像现在这样的点。能 有人告诉我如何用网格而不是点来绘制数据吗?

谢谢,

尼克

【问题讨论】:

    标签: gnuplot


    【解决方案1】:

    没关系,我已经用以下 Gnuplot 脚本解决了我的问题:

    set label "Monitoring Period (sec)" at 50,-40,0
    set xrange [0:60]
    set label "Handover Size" at 85,0,0
    set yrange [0:40]
    set label "Handover Time (sec)" at -10,0,80
    set zrange [0:70]
    set dgrid3d 30,30
    set hidden3d
    set term postscript eps enhanced
    set output "lenMonPerHndSizeHndTime.eps"
    splot "lenMonPerHndSizeHndTime.dat" using 1:2:3 with lines
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-03-25
      • 1970-01-01
      • 1970-01-01
      • 2021-04-07
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多