I have data in some text file which has let's say 10000 rows and 2 columns. I know that I can plot it easily by plot "filename.txt" using 1:2 with lines . What I want is however just plotting let's say the rows from 1000 to 2000 or any other reasonable selection. Is it possible to do that easily? Thank you very much in advance.
plot "filename.txt" using 1:2 with lines
Simpler:
plot "<(sed -n '1000,2000p' filename.txt)" using 1:2 with lines
1.4m articles
1.4m replys
5 comments
57.0k users