I'm getting following error message:
File "pyxfile.py", line 42, in ?
g.writePDFfile("pic_6.pdf")
File "/pyx/canvas.py", line 330, in wrappedindocument
File "/pyx/document.py", line 161, in writePDFfile
File "/pyx/pdfwriter.py", line 475, in __init__
File "/pyx/pdfwriter.py", line 155, in __init__
File "/pyx/pdfwriter.py", line 212, in __init__
File "/pyx/pdfwriter.py", line 238, in __init__
File "/pyx/pdfwriter.py", line 267, in __init__
File "/pyx/document.py", line 141, in processPDF
File "/pyx/document.py", line 81, in _process
File "/pyx/graph/graph.py", line 166, in processPDF
File "/pyx/graph/graph.py", line 270, in finish
File "/pyx/graph/graph.py", line 502, in dokey
File "/pyx/graph/key.py", line 106, in paint
File "/pyx/graph/key.py", line 85, in paintcolumn
File "/pyx/text.py", line 1222, in text_pt
File "/pyx/text.py", line 1201, in text
File "/pyx/text.py", line 1044, in finishdvi
File "/pyx/text.py", line 1036, in execute
pyx.text.TexResultError: unhandled TeX response (might be an error)
The expression passed to TeX was:
\end%
After parsing the return message from TeX, the following was left:
*! Missing $ inserted.
<inserted text>
$
<to be read again>
\end
(cut after 5 lines, increase errordebug for more output )
My Code :
from pyx import *
g = graph.graphxy(width = 8,key = graph.key.key())
g.plot(graph.data.file("lum_bw_6",x=1,y=2,title="Luma_BW"),
styles = [ graph.style.line([color.rgb.red,
style.linestyle.solid,
style.linewidth.thick])])
g.plot(graph.data.file("chr_bw_6",x=1,y=2,title="Chroma_BW"),
styles = [ graph.style.line([color.rgb.green,
style.linestyle.solid,
style.linewidth.thick])])
g.writePDFfile("pic_6.pdf")
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user