6 g1
= c
.insert(graph
.graphxy(width
=8,
7 x
=graph
.axis
.linear(min=0, max=1)))
8 g1
.plot(graph
.data
.function("y(x)=2*exp(-30*x)-exp(-3*x)"))
10 g2
= c
.insert(graph
.graphxy(width
=8, ypos
=g1
.height
+0.5,
11 x
=graph
.axis
.linkedaxis(g1
.axes
["x"])))
12 g2
.plot(graph
.data
.function("y(x)=cos(20*x)*exp(-2*x)"))
14 c
.writeEPSfile("link")
15 c
.writePDFfile("link")