Gnuplot 4.6.5 ylabel不可见
我在ubuntu 12.04上运行gnuplot 4.6.5,并使用x11终端。我使用如下脚本,但ylabel不可见xlabel很好。我要怎么做才能修好它?抵消 谢谢你的帮助Gnuplot 4.6.5 ylabel不可见,gnuplot,Gnuplot,我在ubuntu 12.04上运行gnuplot 4.6.5,并使用x11终端。我使用如下脚本,但ylabel不可见xlabel很好。我要怎么做才能修好它?抵消 谢谢你的帮助 plot "512bytesCBR3000client4server1numofnodes.txt" using 1:2 title 'NativeOF' with linespoints lw 2 ps 3 pt 6 lt 3 set grid set ylabel "End to end delay"
plot "512bytesCBR3000client4server1numofnodes.txt" using 1:2 title 'NativeOF' with linespoints lw 2 ps 3 pt 6 lt 3
set grid
set ylabel "End to end delay"
set xlabel "number of nodes"
通常,如果希望在绘图中显示这些设置,则必须在调用绘图之前执行所有设置set xlabel、set ylabel、set grid。我不知道为什么set-xlabel对您有效,除非您在以前的绘图中或在尝试从gnuplot命令行执行命令时设置它
尝试将plot命令移动到文件的末尾。有时,这可能与画布的边距有关。因此,使用边距设置可能是明智的,例如:
# other grid settings
set lmargin 10
set rmargin 10
set tmargin 5
set bmargin 5
# plot command
亲爱的@wrdieter,我试过你的建议,但不幸的是问题仍然发生。这和其他事情有关吗?。请帮助我没有您的数据文件,但如果我尝试设置网格、设置ylabel端到端延迟、设置xlabel节点数、绘制sinx,则xlabel和ylabel都会显示。如果仍然缺少ylabel,可能是图形窗口的问题。