summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/asymptote/examples/integraltest.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/asymptote/examples/integraltest.asy')
-rw-r--r--Master/texmf-dist/doc/asymptote/examples/integraltest.asy12
1 files changed, 6 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/asymptote/examples/integraltest.asy b/Master/texmf-dist/doc/asymptote/examples/integraltest.asy
index c45b1eb8f17..4bcd3737d0d 100644
--- a/Master/texmf-dist/doc/asymptote/examples/integraltest.asy
+++ b/Master/texmf-dist/doc/asymptote/examples/integraltest.asy
@@ -9,17 +9,17 @@ dotfactor=7;
void subinterval(real a, real b)
{
path g=box((a,0),(b,f(b)));
- filldraw(g,lightgray);
+ filldraw(g,lightgray);
draw(box((a,f(a)),(b,0)));
}
int a=1, b=9;
-
-xaxis("$x$",0,b);
-yaxis("$y$",0);
-
+
+xaxis("$x$",0,b);
+yaxis("$y$",0);
+
draw(graph(f,a,b,operator ..),red);
-
+
int n=2;
for(int i=a; i <= b; ++i) {