5 t
= c
.text(0, 0, r
"Here\PyXMarker{id} is a marker.")
6 center
= t
.marker("id")
7 c
.stroke(path
.circle(center
[0], center
[1], 1), [color
.rgb
.red
])
8 c
.stroke(path
.line(center
[0]-1, center
[1], center
[0]+1, center
[1]), [color
.rgb
.red
])
9 c
.stroke(path
.line(center
[0], center
[1]-1, center
[0], center
[1]+1), [color
.rgb
.red
])
10 c
.writeEPSfile("marker")
11 c
.writePDFfile("marker")
12 c
.writeSVGfile("marker")