Построить трехмерный столбец в Gnuplot (версия для разработки 5.3) со столбцами «переменной» boxdepth (для отображения с фиксированной шириной) на масштабированных осях Y, Z - PullRequest
1 голос
/ 21 мая 2019

Я пытаюсь нанести трехмерный столбец в Gnuplot 5.3 (версия для разработки) на y, z-logscales так, чтобы столбцы выглядели одинаковыми по размеру на графике (т. Е. Переменная "boxdepth" для каждой точки в зависимости от положение)

Кажется, что для каждой точки в 4-м столбце может быть задана ширина коробки, но не для 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

1 Ответ

0 голосов
/ 25 мая 2019

версия разработки gnuplot 23 мая-2019

Головка мерзавца 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

enter image description here

...