gnuplot添加直线和箭头

http://blog.csdn.net/bill_chuang/article/details/18215051

6、在图中添加直线和箭头

gnuplot> set arrow from 0.0,0.0 to 0.6,0.8    %从(0.0,0.0)到(0.6,0.8)画一个箭头
gnuplot> set arrow from 0.0,0.0 to 0.6,0.8 lt 3 lw 2   %这个箭头颜色类型为3,线宽类型为2
gnuplot> set arrow from 0.0,0.0 to 0.6,0.8 nohead lt 3 lw 2  %利用nohead可以去掉箭头的头部,这就是添加直线的方法。

posted @ 2018-02-02 09:59  喝姜水涂风油精  阅读(575)  评论(0编辑  收藏  举报