gnuplot如何在剧情中跳过无关紧要的专栏?

时间:2016-08-07 23:12:14

标签: gnuplot

我有一个像这样的数据文件

#Time a irrelevent_col B
1 2 3 4
2 3 4 5
3 4 5 6
4 5 6 7

我试图绘制两行时间与A,时间与B,标签为“A”和“B”。如何跳过“irrelevent_col”列? 我做了以下,但代码仍然绘制了“irrelevent_col”列。不应该? :操作员可以乘坐该列吗?

 System.setProperty("webdriver.gecko.driver","path/to downloaded/geckodriver.exe");
 DesiredCapabilities capabilities = DesiredCapabilities.firefox();
 capabilities.setCapability("marionette", true);
 WebDriver driver = new FirefoxDriver(capabilities);
  driver.get("http://stackoverflow.com");

谢谢!

1 个答案:

答案 0 :(得分:1)

如果我理解你的问题:

plot "filename" using 1:2 title "A" with lines,\
     "filename" using 1:4 title "B" with lines