在Gnuplot(5.3开发版本)中绘制一个三维柱形图,并使用“;变量";按对数缩放的y、z轴上的boxdepth(显示固定宽度)列

在Gnuplot(5.3开发版本)中绘制一个三维柱形图,并使用“;变量";按对数缩放的y、z轴上的boxdepth(显示固定宽度)列,gnuplot,Gnuplot,我试图在Gnuplot 5.3(开发版)中,在y、z对数标度上绘制一个三维柱形图,以使柱在图形上的大小一致(即,每个点的变量“boxdepth”取决于位置) 似乎可以为第4列中的每个点设置boxwidth,但不能为boxdepth设置 set grid nopolar set grid xtics nomxtics ytics nomytics ztics nomztics nortics nomrtics \ nox2tics nomx2tics noy2tics nomy2tics noc

我试图在Gnuplot 5.3(开发版)中,在y、z对数标度上绘制一个三维柱形图,以使柱在图形上的大小一致(即,每个点的变量“boxdepth”取决于位置)

似乎可以为第4列中的每个点设置boxwidth,但不能为boxdepth设置

set grid nopolar
set grid xtics nomxtics ytics nomytics ztics nomztics nortics nomrtics \
 nox2tics nomx2tics noy2tics nomy2tics nocbtics nomcbtics
set grid lw 1
set xyplane 0
set xlabel 'Year' offset 12,-3,0 font ",16"
set ylabel 'traj length (ns,{/Symbol m}s,ms)' offset -12,-3,0 font ",16"
set zlabel 'M of atoms' offset -3,0,0 font ",16"
set xtics offset 2,0,-2 font ",16"
set ytics ("1 ns" 1, "10" 10, "100" 100, "1 {/Symbol m}s" 1000, "10" 10000, "100" 100000, "1 ms" 1000000)
set ytics offset -1,-1,0 font ",16" #format "1E{%T}" #format "%.0s*10^{%T}"
set ztics font ",16"
set xrange[1995:2020]
set yrange[0.05:2e6]
set zrange[0.01:1e3]
set logscale yz
set style data lines
set boxwidth 0.3 relative
set boxdepth 0
set grid vertical layerdefault   lt 0 linecolor 0 linewidth 1.000,  lt 0 linecolor 0 linewidth 1.000
set pm3d depthorder base
set pm3d interpolate 1,1 flush begin noftriangles border lt black linewidth 1.000 dashtype solid corners2color mean
set view 60,300
splot 'nano.dat' u 1:2:3 w boxes,'micro.dat' u 1:2:3 w boxes lc 3,'milli.dat' u 1:2:3 w boxes lc rgb 'red' lw 4

gnuplot开发版本2019年5月23日

git头6edcb769

# 
# initial setup as in boxes3d.dem
# 

set xrange [.5:12]
set yrange [.5:6]
set boxwidth .05
set boxdepth .05
set log xy
set tics nolog
set xtics 1
set ytics 1
set ztics 5
splot for [col=1:5] \
   'candlesticks.dat' using 1:(col):(col*column(col)):(rgbfudge($1)) with boxes fc rgb variable

gnuplot开发版本2019年5月23日

git头6edcb769

# 
# initial setup as in boxes3d.dem
# 

set xrange [.5:12]
set yrange [.5:6]
set boxwidth .05
set boxdepth .05
set log xy
set tics nolog
set xtics 1
set ytics 1
set ztics 5
splot for [col=1:5] \
   'candlesticks.dat' using 1:(col):(col*column(col)):(rgbfudge($1)) with boxes fc rgb variable

更新:从昨天(2019年5月23日)起,对于具有对数缩放x轴和/或y轴的3D框,boxwidth和boxdepth的行为都是合理的。更新:从昨天(2019年5月23日)起,对于具有对数缩放x轴和/或y轴的3D框,boxwidth和boxdepth的行为都是合理的。