<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 371: sorting and loading a dataset before plot</title><link>https://sourceforge.net/p/gnuplot/feature-requests/371/</link><description>Recent changes to 371: sorting and loading a dataset before plot</description><atom:link href="https://sourceforge.net/p/gnuplot/feature-requests/371/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 12 Sep 2013 07:23:13 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/gnuplot/feature-requests/371/feed.rss" rel="self" type="application/rss+xml"/><item><title>#371 sorting and loading a dataset before plot</title><link>https://sourceforge.net/p/gnuplot/feature-requests/371/?limit=25#10ee</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I thought the data would be sorted to some dataset structure in memory, perhaps make it a special variable type that can be given to "plot" instead of a filename string. Optionally this could also be a temporary file for people with huge datasets.&lt;/p&gt;
&lt;p&gt;(Or do it with an old favourite of mine, array variables! ;-) &lt;br /&gt;
Add option "to array1:array2:.." to the proposed sort command, and then do &lt;br /&gt;
"plot using (array1&lt;span&gt;[$0]&lt;/span&gt;):(array2&lt;span&gt;[$0]&lt;/span&gt;)" )&lt;/p&gt;
&lt;p&gt;Doing the sorting via "every" and "smooth unique" fails if the dataset wasn´t built regularily (all subsets having the same number of entries), or if i want to sort to something else than abscissa values.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kf2402</dc:creator><pubDate>Thu, 12 Sep 2013 07:23:13 -0000</pubDate><guid>https://sourceforge.nete238b4be8bc39a936799cb9d3b4155b57322ddfa</guid></item><item><title>#371 sorting and loading a dataset before plot</title><link>https://sourceforge.net/p/gnuplot/feature-requests/371/?limit=25#05c7</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Please expand on your suggestion.&lt;br /&gt;
What would happen to this sorted data?&lt;br /&gt;
How is this different from "plot FILE &lt;span&gt;[using...]&lt;/span&gt; smooth unique"?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ethan Merritt</dc:creator><pubDate>Wed, 11 Sep 2013 18:55:11 -0000</pubDate><guid>https://sourceforge.netec8407ee8878d19532f8ee28bd0e4a03a1689d9c</guid></item><item><title>sorting and loading a dataset before plot</title><link>https://sourceforge.net/p/gnuplot/feature-requests/371/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I find that i often have to keep multiple copies of my data files with different sortings, splittings into blocks and datasets, etc.&lt;/p&gt;
&lt;p&gt;This uses quite some space, and tends to mess up my hard drive, apart from eating a lot of time to do the sorting.&lt;/p&gt;
&lt;p&gt;I therefore propose a load/sort command for gnuplot, that creates the dataset to be plotted online. Possible syntax could be&lt;/p&gt;
&lt;p&gt;sort "filename" &lt;span&gt;[index ..]&lt;/span&gt; &lt;span&gt;[every ..]&lt;/span&gt; &lt;span&gt;[using ..]&lt;/span&gt; by n,m:o:p &lt;/p&gt;
&lt;p&gt;where the sorting is first done over column n, each new n starting a new dataset,&lt;br /&gt;
then col(m), each new m starting a new dataset,&lt;br /&gt;
then col(o), each new o starting a new block,&lt;br /&gt;
and finally column p.&lt;/p&gt;
&lt;p&gt;Minus sign before column numbers means inverse sorting.&lt;/p&gt;
&lt;p&gt;Advantage to using an external program, creating temporary files, would be that i can already do some math before the sorting, with the familiar "using" construction.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kf2402</dc:creator><pubDate>Thu, 15 Aug 2013 12:24:06 -0000</pubDate><guid>https://sourceforge.net200f88b2bcde389b76eb33dbcd017cd827b80755</guid></item></channel></rss>