On Wed, Nov 10, 2010 at 6:38 AM, Mark Bakker <mark...@gmail.com> wrote:
> I have a pretty wacky problem. > I create a figure which includes negative values along the y-axis: > plot([-1,1]) for example. > I save the figure as EPS. > When I look at the figure with preview on my Mac it looks fine. > When I import the figure in my Latex document the negative values disappear. > My solution has been to use eps2eps on the eps file created by mpl, and this > solves the problem. So apparently there is something not quite standard on > the EPS file created by MPL. > Is this a bug? > I am running version 0.99.3 (Enthought dis) on a Mac running Leopard. mpl by default uses the unicode minus symbol rather than the hyphen to indicate negative numbers. It looks like your system may not be recognizing it. The easiest solution is to set axes.unicode_minus : False in your matplotlib rc. JDH ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users