<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Graph Forums — Roundoff Error]]></title>
	<link rel="self" href="https://forum.padowan.dk/extern.php?action=feed&amp;tid=279&amp;type=atom"/>
	<updated>2011-04-07T21:12:56Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.padowan.dk/viewtopic.php?id=279</id>
		<entry>
			<title type="html"><![CDATA[Re: Roundoff Error]]></title>
			<link rel="alternate" href="https://forum.padowan.dk/viewtopic.php?pid=918#p918"/>
			<content type="html"><![CDATA[<p>No problem downloading now, Ivan. The bobbles and dots are gone and the curves look nice! Thanks for the fix.</p><p>Brian</p>]]></content>
			<author>
				<name><![CDATA[k6sti]]></name>
				<uri>https://forum.padowan.dk/profile.php?id=9893</uri>
			</author>
			<updated>2011-04-07T21:12:56Z</updated>
			<id>https://forum.padowan.dk/viewtopic.php?pid=918#p918</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Roundoff Error]]></title>
			<link rel="alternate" href="https://forum.padowan.dk/viewtopic.php?pid=917#p917"/>
			<content type="html"><![CDATA[<p>It looks like something went wrong uploading the file. I have uploaded it again.</p>]]></content>
			<author>
				<name><![CDATA[Ivan Johansen]]></name>
				<uri>https://forum.padowan.dk/profile.php?id=2</uri>
			</author>
			<updated>2011-04-07T20:58:40Z</updated>
			<id>https://forum.padowan.dk/viewtopic.php?pid=917#p917</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Roundoff Error]]></title>
			<link rel="alternate" href="https://forum.padowan.dk/viewtopic.php?pid=916#p916"/>
			<content type="html"><![CDATA[<p>Ivan, I tried downloading it twice. Both times I got the error shown.</p><p>Brian</p>]]></content>
			<author>
				<name><![CDATA[k6sti]]></name>
				<uri>https://forum.padowan.dk/profile.php?id=9893</uri>
			</author>
			<updated>2011-04-07T20:31:31Z</updated>
			<id>https://forum.padowan.dk/viewtopic.php?pid=916#p916</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Roundoff Error]]></title>
			<link rel="alternate" href="https://forum.padowan.dk/viewtopic.php?pid=915#p915"/>
			<content type="html"><![CDATA[<p>As you have guessed it is a rounding problem. The spline oscillates a little. It just happens to sometimes round a pixel up and sometimes down. I have now changed the rounding in the latest beta version so it rounds to the nearest pixel. This seems to have fixed the problem.</p>]]></content>
			<author>
				<name><![CDATA[Ivan Johansen]]></name>
				<uri>https://forum.padowan.dk/profile.php?id=2</uri>
			</author>
			<updated>2011-04-07T19:19:57Z</updated>
			<id>https://forum.padowan.dk/viewtopic.php?pid=915#p915</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Roundoff Error]]></title>
			<link rel="alternate" href="https://forum.padowan.dk/viewtopic.php?pid=914#p914"/>
			<content type="html"><![CDATA[<p>Here is an example of the dots the internal 1D spline routine introduces (2D is similar). I saved these images at screen resolution and then magnified them by a factor of two.</p><p>Brian</p>]]></content>
			<author>
				<name><![CDATA[k6sti]]></name>
				<uri>https://forum.padowan.dk/profile.php?id=9893</uri>
			</author>
			<updated>2011-04-06T13:01:29Z</updated>
			<id>https://forum.padowan.dk/viewtopic.php?pid=914#p914</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Roundoff Error]]></title>
			<link rel="alternate" href="https://forum.padowan.dk/viewtopic.php?pid=909#p909"/>
			<content type="html"><![CDATA[<p>This may shed some light on the problem.</p><p>Brian</p>]]></content>
			<author>
				<name><![CDATA[k6sti]]></name>
				<uri>https://forum.padowan.dk/profile.php?id=9893</uri>
			</author>
			<updated>2011-04-05T22:47:41Z</updated>
			<id>https://forum.padowan.dk/viewtopic.php?pid=909#p909</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Roundoff Error]]></title>
			<link rel="alternate" href="https://forum.padowan.dk/viewtopic.php?pid=906#p906"/>
			<content type="html"><![CDATA[<p>Two graphs below compare the same data using linear interpolation and 1D cubic spline interpolation (2D looks the same as 1D). Above X = 7000, the trace bobbles up and down for 1D. Another image shows that the Y data values increase monotonically. A final curve shows linear interpolation of 100 points generated by an external cubic spline interpolator. It has no bobbles.</p><p>Because the bobble does not increase when magnifying the Y scale, I suspect it may be a roundoff error at the pixel level. Note that it occurs at X intervals of 1000, which is the data resolution in the bobble region.</p><p>On other curves with dense data, the problem manifests itself as little dots on top of the traces.</p><p>Brian</p>]]></content>
			<author>
				<name><![CDATA[k6sti]]></name>
				<uri>https://forum.padowan.dk/profile.php?id=9893</uri>
			</author>
			<updated>2011-04-04T15:34:20Z</updated>
			<id>https://forum.padowan.dk/viewtopic.php?pid=906#p906</id>
		</entry>
</feed>
