0
我使用Gnuplot的2,2多槽環境。Gnuplot yerrorlines xtics問題
我的一個數據集是這樣的:
# Avg1. Min1. Max1. Avg2. Min2. Max2.
25 0.049 0.002 0.108 0.051 0.004 0.102
50 0.034 0.005 0.070 0.036 0.004 0.086
100 0.028 0.012 0.044 0.026 0.012 0.054
而且我使用下面的腳本繪製第一張圖(我想,一旦我得到我可以重複剛纔的代碼中的第一個右):
#!/usr/bin/env gnuplot
set term post eps color solid enh
set multiplot layout 2,2 rowsfirst
set grid ytics
set offsets 0.5, 0.5
unset key
set ylabel offset 1,0
set xtics ("25" 1, "50" 2, "100" 3)
### First plot
set tmargin at screen 0.95
set bmargin at screen 0.65
set lmargin at screen 0.10
set rmargin at screen 0.45
set ylabel 'Y-Label Here'
plot 'data.dat' u :2:3:4 w yerrorlines ti 'Title1', \
'' u :5:6:7 w yerrorlines ti 'Title2'
### three other graphs
unset multiplot
而且我有三個這樣的情節。問題是我的X軸只顯示25和50(如下所示)。 我不知道如何解決這個問題。任何人都可以幫忙嗎? 我試過用1:2:3:4代替,但它顯示了中間的X-tics,我不想展示。
它工作。謝謝 – Thiago
太好了。然後,請接受答案來證明這一點 – Christoph