summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/context/third/context-top-ten/src/sin.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/context/third/context-top-ten/src/sin.asy')
-rw-r--r--Master/texmf-dist/doc/context/third/context-top-ten/src/sin.asy12
1 files changed, 12 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/context/third/context-top-ten/src/sin.asy b/Master/texmf-dist/doc/context/third/context-top-ten/src/sin.asy
new file mode 100644
index 00000000000..c9ff517f7ba
--- /dev/null
+++ b/Master/texmf-dist/doc/context/third/context-top-ten/src/sin.asy
@@ -0,0 +1,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));