diff options
Diffstat (limited to 'graphics/asymptote/examples/centroidfg.asy')
-rw-r--r-- | graphics/asymptote/examples/centroidfg.asy | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/asymptote/examples/centroidfg.asy b/graphics/asymptote/examples/centroidfg.asy index 2e26454cdb..278274fb40 100644 --- a/graphics/asymptote/examples/centroidfg.asy +++ b/graphics/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); |