File:Shepard interpolation.png

Uploaded by Hankwang
Upload date 2010-10-02T14:52:57Z
MIME type image/png
Dimensions 640 × 160 px
File size 18.6 KB

Summary

Description
English: Shepard's interpolation method for different values of the power parameter p.
Source Own work
Author Hankwang

Licensing

Public domain I, the copyright holder of this work, release this work into the public domain. This applies worldwide.
In some countries this may not be legally possible; if so:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.
 This plot was created with gnuplot by n.
Data generation (perl)
#!/usr/bin/perl -w

$n=40;
$p=0.1;
srand(6);
for ($i = 0; $i < $n; ++$i) {
    $x = rand(1);
    $y = rand(1);
    $v = (rand(1) < $p) ? 1 : 0;
    print("$x $y $v\n");
}

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

19,010 byte

160 pixel

640 pixel

image/png

cb2fedd0f029a99744917cf0a1dcf8302d4b2ba4

Category:Images with Perl source code Category:Interpolation Category:PD-self Category:PNG created with Gnuplot Category:Self-published work