3 p2
= path
.curve(0, 0, 3, 0, 1, 4, 4, 4)
4 p1
= p2
.transformed(trafo
.translate(-4, 0).scaled(0.75))
5 p3
= p2
.transformed(trafo
.scale(1.25).translated(4, 0))
7 myaxis
= graph
.axis
.linear(min=0, max=10)
10 c
.insert(graph
.axis
.pathaxis(p1
, myaxis
))
11 c
.insert(graph
.axis
.pathaxis(p2
, myaxis
))
12 c
.insert(graph
.axis
.pathaxis(p3
, myaxis
))
13 c
.writeEPSfile("rating")
14 c
.writePDFfile("rating")
15 c
.writeSVGfile("rating")