you need gnuplot 4.3-cvs, this version allows for "=" and "," in
expressions.
an example:
script:
reset
set xzeroaxis
xlast = xtemp = 0
plot "ts.dat" using 0:1 with linespoints, "" using (xlast=xtemp,
$0):(xtemp=$1, $1-xlast) with linespoints
datafile "ts.dat":
1
3
5
4
2
1
2
3
4
5
4
3
2
1
baalkikhaal wrote:
>
> Hi
> I have data x . i want to plot the finite differences x(i) - x(i-1) 'on
> the fly'( or via a preprocessing) . is there a method in gnuplot. i tried
> using awk but facing issues with array ordering in for loop
>
> sincerely,
> sreekar guddeti
> india
>
--
View this message in context: http://www.nabble.com/plotting-finite-differences-of-data-tp25634967p25641692.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|