summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/asymptote/examples/spline.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/asymptote/examples/spline.asy')
-rw-r--r--Master/texmf-dist/doc/asymptote/examples/spline.asy20
1 files changed, 10 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/asymptote/examples/spline.asy b/Master/texmf-dist/doc/asymptote/examples/spline.asy
index 9d79ef3a962..f01ba3306e6 100644
--- a/Master/texmf-dist/doc/asymptote/examples/spline.asy
+++ b/Master/texmf-dist/doc/asymptote/examples/spline.asy
@@ -1,15 +1,15 @@
-import graph;
-import interpolate;
-
-size(15cm,15cm,IgnoreAspect);
-
-real a=1997, b=2002;
-int n=5;
-real[] xpt=a+sequence(n+1)*(b-a)/n;
-real[] ypt={31,36,26,22,21,24};
+import graph;
+import interpolate;
+
+size(15cm,15cm,IgnoreAspect);
+
+real a=1997, b=2002;
+int n=5;
+real[] xpt=a+sequence(n+1)*(b-a)/n;
+real[] ypt={31,36,26,22,21,24};
horner h=diffdiv(xpt,ypt);
fhorner L=fhorner(h);
-
+
scale(false,true);
pen p=linewidth(1);