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可以去掉箭头的头部,这就是添加直线的方法。

转载于:https://www.cnblogs.com/zhoubiyu/p/8403667.html

你可能感兴趣的:(gnuplot添加直线和箭头)