<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 563: make weights for acspline independent of x-axis scale</title><link>https://sourceforge.net/p/gnuplot/feature-requests/563/</link><description>Recent changes to 563: make weights for acspline independent of x-axis scale</description><atom:link href="https://sourceforge.net/p/gnuplot/feature-requests/563/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sun, 24 Sep 2023 15:50:50 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/gnuplot/feature-requests/563/feed.rss" rel="self" type="application/rss+xml"/><item><title>make weights for acspline independent of x-axis scale</title><link>https://sourceforge.net/p/gnuplot/feature-requests/563/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;hi,&lt;br/&gt;
rather new to gnuplot and had a hard time getting the weights right for 'acsplines'  in my data (with x-axis representing a date). by trial and error and looking at interpol.c I understand that the weights are currently depending on the scale of the x-axis: if x-scale changes by a factor of 10, weights have to be changed by a factor of 1e-3 to achieve the same smoothing  I think. this seems rather undesirable to me. coming from R (where 'smooth.spline' is controlled by a smoothing parameter that is independent of x-scale) I did not expect this.&lt;/p&gt;
&lt;p&gt;in my special use case the date axis is internally handled as secs since the epoch --  the x-values in my case cover a x-range of about 4e7  and there are about 60 points . in this case the weight has to be reduced by a factor of about 3e17 (== (4e7/60)^3) when plotting the given y-data vs. date/time rather than vs. index in order to end up with the same degree of smoothing. this strong S^3 dependence on given scale S of covered x-range makes using acsplines interactively rather cumbersome I think: identically looking data (same y, just x-axis scaled differently) might need either a weighting factor of about 1 or of about 1e-17 in order to achieve same smoothing...&lt;/p&gt;
&lt;p&gt;as far as I understand, if x-scale were normalized internally in interpol.c to, say &lt;span&gt;[0, 1]&lt;/span&gt; range  (or any other fixed range) when computing the smoothing spline the weights would then maintain an invariant meaning independent of the scale of the actual x-data as far as I can tell.  apart from backward compatibility issues I would find this much preferable. any comments?&lt;/p&gt;
&lt;p&gt;thank you,&lt;br/&gt;
joerg&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">joerg van den hoff</dc:creator><pubDate>Sun, 24 Sep 2023 15:50:50 -0000</pubDate><guid>https://sourceforge.netd85ae5173ace2590ce6a9a08f1d9d36ee619997e</guid></item></channel></rss>