summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tufte-latex/graphics/sine.asy
blob: 6904735a10f4d747a139d7bad9442fc6b6b093cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import graph;

usepackage("palatino");
usepackage("mathpazo");

size(7inches,3inches);
scale(true);

real f(real x) { return sin(x); }
pair F(real x) { return (x, f(x)); }

xaxis("$x$");
yaxis("$y$");

draw(graph(f,-10.,10,operator ..), red);