|
From: Cédric O. <ced...@un...> - 2016-09-12 07:55:37
|
Hello, The following link http://folk.uio.no/hpl/scripting/doc/gnuplot/Kawano/datafile3-e.html shows how to use unix commands like sort within gnuplot. For your example, you can also use the 'tac' command instead of 'sort'. 'tac' reverses the content of a file (cat <-> tac). CO Le 11/09/2016 à 23:32, Tatsuro MATSUOKA a écrit : > The original question was made in the Nabble but has not been approved yet. > > Here I write it. > ********************* > Hi > I am new in gnuplot. I have a file as follows: > 1 11 > 2 12 > 3 13 > 4 14 > 5 15 > and I want to sort it like : > 5 15 > 4 14 > 3 13 > 2 12 > 1 11 > I appreciate any help > **************** > > Tatsuro > > --- Tatsuro MATSUOKA wrote: >> --- tmacchant wrote: >>> Use sort command but not gnuplot. >>> >>> Tatsuro >> Search on web browser by keywords "gnuplot sort". If you cannot get good solution, ask again with showing what you really want to do using gnuplot. >> >> Tatsuro >> > ------------------------------------------------------------------------------ > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info > -- -------------- 02 98 49 86 04 |