summaryrefslogtreecommitdiff
path: root/info/context-top-ten/src/sin.asy
blob: c9ff517f7ba602c69790588e0460182a6c917517 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import graph;
size(7cm,0);

real f(real x)
{
    return sin(x)+ 0.1*sin(x*8);
}

xaxis(p=black+linewidth(2mm));
yaxis(p=black+linewidth(2mm));

draw(graph(f,-4,4,operator ..),red+linewidth(2mm)+opacity(0.5));