repo.or.cz
/
PyX
/
mjg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
disable outlines (we do not yet have those)
[PyX/mjg.git]
/
examples
/
graphs
/
lissajous.py
blob
3e912686d3f7459e92ffcfbd7e88fceb3a9ab3b7
1
from
math
import
pi
2
from
pyx
import
*
3
4
g
=
graph
.
graphxy
(
width
=
8
)
5
g
.
plot
(
graph
.
data
.
paramfunction
(
"k"
,
0
,
2
*
pi
,
"x, y = sin(2*k), cos(3*k)"
))
6
g
.
writeEPSfile
(
"lissajous"
)