aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2016-02-21 14:01:29 -0800
committerbnewbold <bnewbold@robocracy.org>2016-02-21 14:01:29 -0800
commita1fad974dc49871bc87f8de99cec9f7731099d1a (patch)
tree47ea27cfe87cc61b8480b66306a67532f894b978
downloadPyX.jl-a1fad974dc49871bc87f8de99cec9f7731099d1a.tar.gz
PyX.jl-a1fad974dc49871bc87f8de99cec9f7731099d1a.zip
meta-files
-rw-r--r--.gitignore26
-rw-r--r--README.md33
-rw-r--r--REQUIRE3
-rw-r--r--TODO8
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.
+
diff --git a/REQUIRE b/REQUIRE
new file mode 100644
index 0000000..630b8e7
--- /dev/null
+++ b/REQUIRE
@@ -0,0 +1,3 @@
+julia 0.4
+PyCall 1.1
+LaTeXStrings
diff --git a/TODO b/TODO
new file mode 100644
index 0000000..7f4794c
--- /dev/null
+++ b/TODO
@@ -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