gnuplot画图
2016-10-12 10:14
513 查看
常用的一些属性:
linestyle 连线风格(包括linetype,linewidth等) linetype 连线种类
linewidth 连线粗细
linecolor 连线颜色
pointtype 点的种类 pointsize 点的大小
很有用的文档:http://www.phy.fju.edu.tw/files/archive/876_ab57aed9.pdf
linestyle 连线风格(包括linetype,linewidth等) linetype 连线种类
linewidth 连线粗细
linecolor 连线颜色
pointtype 点的种类 pointsize 点的大小
画柱状图:
set terminal png set output 'data.png' set style data histogram set style histogram clustered gap 1 set style fill pattern 3 border -1 plot "data" using 2:xticlabels(1) title columnheader(2), '' using 3:xticlabels(1) title columnheader(3), '' using 4:xticlabels(1) title columnheader(4), '' using 5:xticlabels(1) title columnheader(5),'' using 6:xticlabels(1) title columnheader(6), '' using 7:xticlabels(1) title columnheader(7), '' using 8:xticlabels(1) title columnheader(8)
画折线图 且用log形式表示纵坐标:
使用简写 w=with pt=pattern lp=linepoints u=usingset terminal postscript eps color solid linewidth 2 "Helvetica" 20 set output 'data.eps' set logscale y set yrange [0.0001:1000] set ytics ("0.0001" 0.0001,"0.01" 0.01,"1" 1,"100" 100,"500" 500) plot "data" using 2:xticlabels(1) w lp title columnheader(2) pt 7, '' using 3:xticlabels(1) w lp title columnheader(3) pt 5, '' using 4:xticlabels(1) w lp title columnheader(4), '' using 5:xticlabels(1) w lp title columnheader(5),'' using 6:xticlabels(1) w lp title columnheader(6), '' using 7:xticlabels(1) w lp title columnheader(7), '' using 8:xticlabels(1) w lp title columnheader(8)
很有用的文档:http://www.phy.fju.edu.tw/files/archive/876_ab57aed9.pdf
相关文章推荐
- gnuplot画图
- GNUPLOT和GAMS的画图
- gnuplot画图
- 使用 gnuplot 画图
- GNUPLOT画图工具
- 针对数据 gnuplot画图 初试
- 使用GNUPLOT为cyclictest的测试结果画图以及gnuplot的脚本使用
- Windows gnuplot 画图教程
- gnuplot画图一
- gnuplot画图
- Linux画图工具gnuplot
- 用gnuplot画图,扔latex里面。一个简单的例子。
- gnuplot画图二
- NS2画图gnuplot介绍
- gnuplot画图技巧总结
- gnuplot下画图以及设置点、线基础
- linux 下画图的工具 gnuplot
- gnuplot画图点线设置
- 针对数据 gnuplot画图 初试
- gnuplot画图技巧