GNU Plot中的多重绘图与pm3d

时间:2017-07-27 08:21:07

标签: gnuplot

我在pm3d中遇到多时隙问题。我有一个脚本绘制一个表面但是当我设置多色时,它表示xrange超出范围: 这是我的代码:

set terminal png size 2000,1600 enhanced transparent
set encoding utf8 #iso_8859_1
set output 'output.png'

#---------------#
#  Canvas style #
#---------------#
set border linewidth 2
set pm3d border lw 2

#-------------------------------------------#
#  Set the Axis and Axis-Labels Formatting  #
#-------------------------------------------#

### Set xtics below ###
set xtics font "Helvetica,26" scale 3 # Font for xtics
set xtics offset 3,-1.5 # Put xtics away from the axis

### Set ytics below ###
set ytics font "Helvetica,26" scale 3
set ytics offset 3,0 # Put ytics away from the axis

### Set ztics below ###
set ztics font "Helvetica,26" scale 3
set ztics 5 # Difference between numbers on Y-axis
set format z "" # To hide ztics on the left side

set grid # Show gridlines on both axis
set pm3d interpolate 3,3 # Lines on points. Smoothness of the points
unset key # Show no key

#------------------#
#  Plot the Graph  #
#------------------#

splot "plastoquinone-scan-a1-formatted.txt" with pm3d

#----------------#
#  Set Multiplot #
#----------------#
#set multiplot layout 2,2
#plot "++" "plastoquinone-scan-a1-formatted.txt" with pm3d
#plot "++" "plastoquinone-scan-a2-formatted.txt" with pm3d

数据文件很长,所以我将它们上传到github上。 以下是链接: https://github.com/i4hashmi/Scans/blob/master/plastoquinone-scan-a1-formatted.txt https://github.com/i4hashmi/Scans/blob/master/plastoquinone-scan-a2-formatted.txt

我需要这些图表作为我的博士论文。帮助将受到很多赞赏。 感谢

0 个答案:

没有答案