Gnuplot:多次绘制标签

时间:2018-07-03 12:37:40

标签: label gnuplot

我正在gnuplot 5.0上进行多图绘制,并为y axis设置了自己的标签,但是似乎其中一些标签绘制了多次,因为它们的外观大胆。 外观如下:

current output

这是我的代码:

set multiplot layout 3,2 rowsfirst title 'Time stuff'

TOPGRAPH = "set tmargin at screen 0.80;set bmargin at screen 0.60;set ytics(0,14,18,22);set yrange[12:22];unset ylabel"
MIDDLEGRAPH = "set tmargin at screen 0.60;set bmargin at screen 0.40;set ytics(0,2,5,8);set yrange[0:10];unset ylabel"
BOTTOMGRAPH = "set tmargin at screen 0.40;set bmargin at screen 0.20;set ytics(0,6,7);set yrange[5:8];unset ylabel"
LRMARGIN = "set lmargin at screen 0.15;set rmargin at screen 0.45"
NOXLABEL = "unset xlabel"
XTICS = "set xtics 0,2500,10000; set format ''"




@TOPGRAPH;@LRMARGIN;@NOXLABEL;@XTICS
set label 1 'X length' at screen 0.10, 0.65 rotate left
plot 'ite_x' u 1:3:4 w filledcu lc 'grey' notitle, 'ite_x' u 1:2 w lines lc 'red' notitle


@MIDDLEGRAPH;@LRMARGIN;@NOXLABEL;@XTICS
set label 2 'Y length' at screen 0.10,0.45 rotate left
plot 'ite_y' u 1:3:4 w filledcu lc 'grey' notitle, 'ite_y' u 1:2 w lines lc 'red' notitle

@BOTTOMGRAPH;@LRMARGIN
set arrow from 0,5 to 0,8 nohead front
set label 3 'Z length' at screen 0.10,0.25 rotate left
unset format x
set xtics 0,2500,10000
set xlabel 'Time when bead placed'
plot 'ite_z' u 1:3:4 w filledcu lc 'grey' notitle, 'ite_z' u 1:2 w lines lc 'red' notitle

0 个答案:

没有答案