Jorge Leitão venit, vidit, dixit 31.01.2013 17:18:
> ------------------------------------------------------------------------
> 
> *[support-requests:#3]
> <http://sourceforge.net/p/pyx/support-requests/3/> pdf/eps from surface
> plot crashing on Mac OS 10.6*
> 
> *Status:* open
> *Created:* Thu Jan 31, 2013 04:18 PM UTC by Jorge Leitão
> *Last Updated:* Thu Jan 31, 2013 04:18 PM UTC
> *Owner:* nobody
> 
> In the example of density plot
> <http://pyx.sourceforge.net/examples/graphstyles/density.html>, I tried
> to use "surface plot" instead of "density plot",
> 
> |
> g = graph.graphxy(height=8, width=8,
> x=graph.axis.linear(min=re_min, max=re_max, title=r"$\Re(c)$"),
> y=graph.axis.linear(min=im_min, max=im_max, title=r'$\Im(c)$'))
> g.plot(graph.data.points(d, x=1, y=2, color=3, title="iterations"),
> [graph.style.surface()]) # <<-- I changed this line|
> 
> g.writeEPSfile()
> g.writePDFfile()
> 
> Interestingly, I cannot open any of the files (EPS or PDF) using Mac OS
> 10.6: it crashes either the Finder or the Preview.
> 
> I have no clue why this is happening. Can anyone reproduce this behavior
> on a Linux/Windows machine to confirm it is a problem of the OS?

On Linux /Fedora 18 with python 2.7, recent TeXlive) I get these warnings

Warning: empty file.
Warning: empty file.
GPL Ghostscript 9.06: Error: Font Renderer Plugin ( FreeType ) return
code = -1
GPL Ghostscript 9.06: Error: Font Renderer Plugin ( FreeType ) return
code = -1
GPL Ghostscript 9.06: Error: Font Renderer Plugin ( FreeType ) return
code = -1
GPL Ghostscript 9.06: Error: Font Renderer Plugin ( FreeType ) return
code = -1
GPL Ghostscript 9.06: Error: Font Renderer Plugin ( FreeType ) return
code = -1
GPL Ghostscript 9.06: Error: Font Renderer Plugin ( FreeType ) return
code = -1

and two output files which display fine, although they just look like
the grayscale version of density(...), and in fact it looks the same
when I just remove the gradient from the line above (rather than
replacing density by surface). I don't get the empty file warnings for
density(). I have no clue where in the source they come from.

Michael

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
PyX-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-devel

Reply via email to