[Yt-dev] DualEPS extension

John Wise jwise at astro.princeton.edu
Thu Apr 29 20:08:25 PDT 2010


Hi all,

I just committed a new extension that can create EPS figures that have both compressed bitmaps and vector graphics.  I've been wanting to do this for the past few years!  I always hate making very high resolution figures for publication *just* to have the text sharp.  This extension can make either a single panel or multi-panel panel with one call.  Here are some examples, notice that their file sizes are similar to their JPEG file sizes.

Single panel example and figures:
http://paste.enzotools.org/show/485/
http://www.astro.princeton.edu/~jwise/DualEPS/example1.eps  (56kB)
http://www.astro.princeton.edu/~jwise/DualEPS/example1anno.eps  (63kB)

Multi-panel:
http://paste.enzotools.org/show/486/
http://www.astro.princeton.edu/~jwise/DualEPS/example2.eps  (142kB)

It could use some refinements, but I've pretty pleased with its output!  I hope this is useful to many of you.

Cheers,
John


More information about the yt-dev mailing list