I vaguely recall a bug whereby mathtext on PDF was upside down (because 
the direction of the y-axis was not being inverted)... but I can't find 
the bug report.

It does seem to work in 0.90.1 and 0.91.2 (on Linux at least).  Are you 
able to upgrade?

Cheers,
Mike

Simson Garfinkel wrote:
> Hi. I'm making scientific graphs again, so i just got back on this 
> mailing list after a two year hiatus.
>
> I am using:
> matplotlib-0.90.0-py2.5-macosx-10.4-fat.egg
>
> Here is a simple program:
>
> #!/usr/bin/python
> #
> # Do our plots with matplotlib
>
> import matplotlib
> matplotlib.use('Agg')
> from pylab import *
>
> fig = figure(num=1,figsize=(6.5,4))
> ax = fig.add_axes([.15,.3,.8,.65])
> ax.set_title("Why is the Y axes upside down?")
> ax.set_yscale('log')
> ax.set_ylabel('Queries per second')
>
> ax.bar(1,1000,.5,color='r')
> ax.bar(2,5000,.5,color='b')
> ax.bar(3,55000,.5,color='g')
>
> fig.savefig("broken_log_demo.png")
>
> Here is the plot with a PNG:
>
>
>
> ------------------------------------------------------------------------
>
>
>
>
> Well, that looks good.
>
> But here is the plot when I change the type to PDF:
>
>
>
>
> Notice the the axes are reversed.
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> 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/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>   

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA


-------------------------------------------------------------------------
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/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to