|
From: Tatsuro M. <tma...@ya...> - 2016-09-14 07:17:11
|
----- Original Message ----- > From: tmacchant > To: gnuplot-info> Cc: > Date: 2016/9/14, Wed 14:39 > Subject: Re: [Gnuplot-info] Sorting > > This post has NOT been accepted by the mailing list yet. > This post was updated on Sep 13, 2016; 1:37am. > *********************************************************** > Thank y'all for your responses. Let me clear my question. Lets say I have > this file: > > -0.00512366 0.0156186 > -0.00510697 0.0154651 > -0.00509028 0.015312 > -0.00507359 0.0151593 > -0.0050569 0.0150072 > -0.00504021 0.0148556 > > And I want to move my last row to the top of my data file and so on. so I > could have : > > -0.00504021 0.0148556 > -0.0050569 0.0150072 > -0.00507359 0.0151593 > -0.00509028 0.015312 > -0.00510697 0.0154651 > -0.00512366 0.0156186 > > I know that I could use "set xrange [* : *] reverse" command to do > that when > I am plotting it but I want to save the change in my data file. > > Thank you > ******************************************************************************* > > set xrange [* : *] reverse > set table 'data.txt' > plot (datafilename) > unset table > > But this add 'i' to the third column. > > See the output the below command or gnuplot manual [1] > gnuplot> help table > > [1] http://gnuplot.sourceforge.net/docs_5.0/gnuplot.pdf > > Tatsuro Sorry the above does not make sense. Tatsuro |