diff options
-rw-r--r-- | .gitignore | 26 | ||||
-rw-r--r-- | README.md | 33 | ||||
-rw-r--r-- | REQUIRE | 3 | ||||
-rw-r--r-- | TODO | 8 |
4 files changed, 70 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5b701a5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,26 @@ +*.pdf +*.eps +*.log +*.aux +*.dvi + +*.o +*.a +*.pyc +*~ +*.swp +.* +*.tmp +*.old +*.profile +*.bkp +*.bak +[Tt]humbs.db +*.DS_Store +build/ +_build/ +src/build/ +*.log + +# Don't ignore this file itself +!.gitignore diff --git a/README.md b/README.md new file mode 100644 index 0000000..d013970 --- /dev/null +++ b/README.md @@ -0,0 +1,33 @@ + +This is a Julia wrapper of the PyX plotting and TeX graphics library from +Python. + +It is a work in progress, broken, and will set your computer on fire. + +## Example + +``` +using PyX + +g = graph.graphxy(width=8) +plot(graph_data_function("y(x)=sin(x)/x", min=-15, max=15)) +writeEPSfile(g, "function") +writePDFfile(g, "function") +writeSVGfile(g, "function") +``` + +## Install + +There are no installation instructions. + +## Notes and Caveats + +PyX >= 0.13 (2013) is Python3 only. PyX <= 0.12.1 is Python2. + +Instead of Python's `None`, use Julia's `nothing`. + +`graph_data.function` won't work in Julia because `function` is a reserved +word. Use `graph_data_function` instead. + +Also check the TODO file. + @@ -0,0 +1,3 @@ +julia 0.4 +PyCall 1.1 +LaTeXStrings @@ -0,0 +1,8 @@ +- lots of temporary files (.log, .dvi, etc) get left around. need to somehow + tell python to exit cleanly at the end, and maybe also use a different + temporary directory. +- an array of tuples doesn't seem to get converted correctly? eg, + zip(1:10, 1:10) +- create native "PyxGraph", "PyxCanvas" types +- integration of SVG renders into, eg, Jupyter. Python3 only. +- python2 vs. python3 versions of PyX |