Gnuplot:特定位置的垂直线 [英] Gnuplot: Vertical lines at specific positions

查看:47
本文介绍了Gnuplot:特定位置的垂直线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在gnuplot的帮助下从csv文件读取数据.大多数行有8列,其中一些是9列.每当有9列时,我想画一条垂直线(想标记那个位置).我可以用gnuplot实现吗?

I'm reading data from a csv file in help of gnuplot. Most of the lines have 8 columns, some of them 9. Whenever there are 9 columns, I'd like to draw a vertical line (think of marking that position). Can I achieve that with gnuplot?

谢谢.

推荐答案

只需设置yrange即可固定比例尺:

simply fix the scale by setting the yrange:

set yrange [##:##]

其中##是某个数字的占位符:)

where ## is a place holder for some number :)

干杯,
B2S

Cheers,
B2S

这篇关于Gnuplot:特定位置的垂直线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆