2017-04-08 63 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