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
Post a Comment