2017-04-08 60 views
1

當我使用gnuplot繪製圖形時,我想打印簡單的方式。 如「1 2 3 4 5 1e6」在gnuplot中簡化的tics表達式

在圖軸上只是打印簡單數字和圖形的結尾像這樣「1e10」。我嘗試了幾個選項,到目前爲止我找不到解決方案。

以下是我想要的。

enter image description here

而且我還附上當前圖形。 enter image description here

回答

1

這應該做的伎倆

exp_scale=5 
set size 0.9,1 
set label 1 sprintf("10^%d",exp_scale) at graph 1, graph 0 offset char 1,0 
plot "data.dat" u ($1/(10**exp_scale)):2 with l