gnuplot automatically orders data? -


i have 2 data series:

2.72121 -1326.8380227810 2.81569 -1326.8407684060 2.91018 -1326.8428301680 3.00466 -1326.8448265650 3.09915 -1326.8470902260 3.19364 -1326.8497826100 3.28812 -1326.8530603940 3.38261 -1326.8571516770 3.47710 -1326.8628214990 3.57158 -1326.8694360090 3.66607 -1326.8759488230 3.76056 -1326.8820177910 3.85504 -1326.8875129030 3.94953 -1326.8923946780 4.04401 -1326.8966652370 4.13850 -1326.9003601490 4.23299 -1326.9035228070 

and

4.23299   -1326.9035228070 4.13850   -1326.9003601490 4.04401   -1326.8966652370 3.94953   -1326.8923946780 3.85504   -1326.8875129030 3.76056   -1326.8820177910 3.66607   -1326.8759488230 3.57158   -1326.8694360090 3.47710   -1326.8628214990 3.38261   -1326.8571516770 3.28812   -1326.8530603940 3.19364   -1326.8497826100 3.09915   -1326.8470902260 3.00466   -1326.8448265650 2.91018   -1326.8428301680 2.81569   -1326.8407684060 2.72121   -1326.8380227810 

which same data series in reverse order. that's first series:

plot of first series

and that's second one:

plot second series

the full gnuplot code is:

set loadpath 'c:\users\sjojungfrun\programs\gnuplot\palettes'  load 'parula.pal' set lmargin 10  unset key set xtics font 'arial,16' set ytics font 'arial,16' set grid ytics  e_kcal = 627.509391 b_angs = 0.52918 stats "reverse_scan_coord.dat" nooutput e_min = stats_min_y  plot "reverse_scan_coord.dat" u ($1 * b_angs):(($2 - e_min) * e_kcal) w lp pt 7 lw 2 lc 11 #smooth csplines 

i using windows version 5.0 patchlevel 5 of gnuplot.

am doing wrong? surprised auto-ordering feature.

thanks in advanced help.

cheers!


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -