summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/asymptote/examples/centroidfg.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/asymptote/examples/centroidfg.asy')
-rw-r--r--Master/texmf-dist/doc/asymptote/examples/centroidfg.asy6
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/asymptote/examples/centroidfg.asy b/Master/texmf-dist/doc/asymptote/examples/centroidfg.asy
index 2e26454cdbe..278274fb404 100644
--- a/Master/texmf-dist/doc/asymptote/examples/centroidfg.asy
+++ b/Master/texmf-dist/doc/asymptote/examples/centroidfg.asy
@@ -8,8 +8,8 @@ real g(real x) {return x^2;}
draw(graph(f,a,b,operator ..),red);
draw(graph(g,a,b,operator ..),blue);
-
-xaxis();
+
+xaxis();
int n=5;
@@ -18,7 +18,7 @@ for(int i=0; i <= n; ++i) {
real x=a+width*i;
draw((x,g(x))--(x,f(x)));
}
-
+
labelx("$a$",a);
labelx("$b$",b);
draw((a,0)--(a,g(a)),dotted);