How to start at x = 0 with given xrange in gnuplot? -


in gnuplot, possible start graph @ x = 0 in given x range?

let have code:

set xrange [100:500] plot "input.txt" using 2:1:(1.0) notitle lines lw 1 

consequently, graph start @ x = 100 , end @ x = 500. want graph start @ x = 0 , end @ x = 400 given range [100:500]. how can this?

thanks!

just use xrange of [0:400] , subtract 100 data values:

set xrange [0:400] plot "input.txt" using ($2-100):1 lines 

Comments

Popular posts from this blog

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -