<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 444: option for "set fit" to change MAX_DATA</title><link>https://sourceforge.net/p/gnuplot/feature-requests/444/</link><description>Recent changes to 444: option for "set fit" to change MAX_DATA</description><atom:link href="https://sourceforge.net/p/gnuplot/feature-requests/444/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 13 May 2016 17:29:34 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/gnuplot/feature-requests/444/feed.rss" rel="self" type="application/rss+xml"/><item><title>#444 option for "set fit" to change MAX_DATA</title><link>https://sourceforge.net/p/gnuplot/feature-requests/444/?limit=100#2f50</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: pending-accepted --&amp;gt; closed-fixed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bastian Märkisch</dc:creator><pubDate>Fri, 13 May 2016 17:29:34 -0000</pubDate><guid>https://sourceforge.net944e1abac1982612ac43a325f94ec72198b16372</guid></item><item><title>#444 option for "set fit" to change MAX_DATA</title><link>https://sourceforge.net/p/gnuplot/feature-requests/444/?limit=100#249c/d4b3/eb56</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;OK. Done.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bastian Märkisch</dc:creator><pubDate>Fri, 13 May 2016 17:29:08 -0000</pubDate><guid>https://sourceforge.net55e579a4673b845172a5977c5a30f7a38958e290</guid></item><item><title>#444 option for "set fit" to change MAX_DATA</title><link>https://sourceforge.net/p/gnuplot/feature-requests/444/?limit=25#249c/d4b3</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Sure.  Might as weel go into 5.0 also.  I don't see any down-side.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ethan Merritt</dc:creator><pubDate>Fri, 13 May 2016 17:23:11 -0000</pubDate><guid>https://sourceforge.net951e708bc4b6384128457435cb378d173ded7540</guid></item><item><title>#444 option for "set fit" to change MAX_DATA</title><link>https://sourceforge.net/p/gnuplot/feature-requests/444/?limit=100#1098</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; pending-accepted&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; &lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bastian Märkisch</dc:creator><pubDate>Fri, 13 May 2016 14:12:31 -0000</pubDate><guid>https://sourceforge.net0497e4d5b41d3e86454ed3c46568598f74498407</guid></item><item><title>#444 option for "set fit" to change MAX_DATA</title><link>https://sourceforge.net/p/gnuplot/feature-requests/444/?limit=25#e68a/9cfc</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Well, as it is, 2048 data points already eat more than 64 KiB, what with there being 6 arrays of at least 2048 doubles if you go there. That's 96 KiB, and yes, that quite hard to support for a 16-bit platform, which was still supported back then.&lt;/p&gt;
&lt;p&gt;And there's a reason why the factor is 1.5 instead of 2, too.  Back when that factor was set (by myself, IIRC), the maths part would allocate a matrix of (num_data * num_data) elements, so a growth by 2 would actually increase the memory usage by a factor of &lt;strong&gt;4&lt;/strong&gt;.   So I chose 1.5, which yields an effective resize of 2.25.  The underlying solver has changed in the meantime, so memory consumption is now linear in num_data.  That means a factor of 2 would be sensible now.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hans-Bernhard Broeker</dc:creator><pubDate>Tue, 10 May 2016 18:10:26 -0000</pubDate><guid>https://sourceforge.net39bbd46015a2bf1cea8b3061bb60c76eb49d4c1e</guid></item><item><title>#444 option for "set fit" to change MAX_DATA</title><link>https://sourceforge.net/p/gnuplot/feature-requests/444/?limit=100#2174</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Here's the equivalent code section from &lt;code&gt;plot2d.c&lt;/code&gt;:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;    while ((j = df_readline(v, max_cols)) != DF_EOF) {

        if (i &amp;gt;= current_plot-&amp;gt;p_max) {
            /* overflow about to occur. Extend size of points[]
             * array. Double the size, and add 1000 points, to avoid
             * needlessly small steps. */
            cp_extend(current_plot, i + i + 1000);
        }
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;No message whatsoever. Plus a more "agressive" extension &lt;code&gt;2*n+1000&lt;/code&gt; instead of &lt;code&gt;(n*3)/2&lt;/code&gt;.&lt;br/&gt;
I propose to adopt the code in &lt;code&gt;fit.c&lt;/code&gt; accordingly.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bastian Märkisch</dc:creator><pubDate>Tue, 10 May 2016 16:25:39 -0000</pubDate><guid>https://sourceforge.neta130ca9843a9a4c735637977ceb2b1f65e3b535d</guid></item><item><title>#444 option for "set fit" to change MAX_DATA</title><link>https://sourceforge.net/p/gnuplot/feature-requests/444/?limit=25#e68a/4c3a</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I guess something like 64k would be a sensible change to the default of MAX_DATA = 2048. I cannot ascertain if it would be hard to do this in a dynamic fashion. &lt;code&gt;plot&lt;/code&gt; does not have a hard-set limit, so it should be possible, i guess.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Karl Ratzsch</dc:creator><pubDate>Tue, 10 May 2016 16:16:55 -0000</pubDate><guid>https://sourceforge.netc8bf8a779700f63b8965e40a266f4dc2de879816</guid></item><item><title>#444 option for "set fit" to change MAX_DATA</title><link>https://sourceforge.net/p/gnuplot/feature-requests/444/?limit=25#ec41</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Coincidentally, I discovered that post half an hour ago and am currently installing msys2. :-)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Karl Ratzsch</dc:creator><pubDate>Tue, 10 May 2016 16:12:50 -0000</pubDate><guid>https://sourceforge.net1a4c2e9956baa5c02250ae8c595b38917583744d</guid></item><item><title>#444 option for "set fit" to change MAX_DATA</title><link>https://sourceforge.net/p/gnuplot/feature-requests/444/?limit=100#fc1a</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Btw. thanks to MSYS2/Mingw64 compilation is now almost as pain-free on Windows as it is on *nix, see &lt;a class="alink" href="/p/gnuplot/support-requests/199/"&gt;[support-requests:#199]&lt;/a&gt;.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bastian Märkisch</dc:creator><pubDate>Tue, 10 May 2016 16:09:04 -0000</pubDate><guid>https://sourceforge.net07c0071362f3fe6a9ef934353a8559816791d2b3</guid></item><item><title>#444 option for "set fit" to change MAX_DATA</title><link>https://sourceforge.net/p/gnuplot/feature-requests/444/?limit=100#e68a</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;These limits look like they come from an age when 64kB were a lot...  Couldn't we just eliminate this warning/info message - or at least only emit it for really sizeable datasets? &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bastian Märkisch</dc:creator><pubDate>Tue, 10 May 2016 16:04:47 -0000</pubDate><guid>https://sourceforge.net1118d81cdf774f2f6cabcd98ad7e7f1105b0ee7b</guid></item></channel></rss>