假设数据是这样子的: gnuplot脚本如下: set terminal postscript eps color enhanced set log x set log y set format x '2^{%L}' set yrange[:] set ytics(,,,) set format y '%2.1t*10^{%L}' set output 'test.eps' set ylabel 'value' offset 2.0 set xlabel , plot : with pt lc
一. 基础篇: 在linux命令提示符下运行gnuplot命令启动,输入quit或q或exit退出. 1.plot命令 gnuplot> plot sin(x) with line linetype 3 linewidth 2 或 gnuplot> plot sin(x) w l lt 3 lw 2 %用线画,线的类型(包括颜色与虚线的类型)是3,线的宽度是2,对函数sin(x)作图 gnuplot> plot sin(x) with point pointty