[Matplotlib-users] Quiver - too fat arrows

2006-06-14 Thread Erik Meyer


When I do a plot with quiver, I get very fat vectors - the arrow head length is about 0.1 times the total height of the plot. If I do the following plot:
from pylab import *
t=[-0.9,-0.7,-0.5,-0.3,-0.1,0.1,0.3,0.5,0.7,0.9]
x,y=meshgrid(t,t)
axis('equal')
quiver(x,y,-y,x)
show()
- it is very difficult to see the single vectors because they are overlapping. I have tried different values of "width" in the call to quiver (e.g. width=0.1), but this has no effect. 
I am using Windows XP, Python 2.4.3 - Enthought Edition 1.0.0 and matplotlib ver. 0.87.3 - but I saw the same problem in an earlier windows installation.
/Erik Meyer


___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] ANN: matplotlib-0.87.3

2006-06-14 Thread Samuel M . Smith
Charlie,

Any chance you will be posting soon a pkg installer for OSX for numpy  
0.9.8 and matplotlib 0.87.3?
If not do numpy 0.9.8 and matplotlib 0.87.3 build out of the box now  
from source?

Sam



___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] multiple legends for one subplot/pair of axes

2006-06-14 Thread Christian David Ott
Hi,

due to limited white space in my figures, I would like to be
able to split up a single big legend into multiple (usually 2) smaller ones.

###
Example (adapted from simple_plot.py):

from pylab import *

t = arange(0.0, 2.0, 0.01)
s = sin(2*pi*t)
plot(t, s, linewidth=1.0)

s = sin(4*pi*t)
plot(t, s, color='r',linewidth=1.0)

grid(True)
mylegend = legend(('Graph 1','Graph 2'),
 
loc='lower right',axespad=0.07,labelsep=0.04)

# modify legend
mylegend.draw_frame(False)
mylegendtext = mylegend.get_texts()
mylegendlines = mylegend.get_lines()
setp(mylegendtext, fontsize=15)
setp(mylegendlines, linewidth=1.2) 

show()
##

I would like to split the legend up to into two.
One for "Graph 1" and one for "Graph 2" to be
able to place them where white space is available.

Is there an easy way to do this in matplotlib?

Thanks.

 - Christian 
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Quiver - too fat arrows

2006-06-14 Thread Eric Firing
Erik,

I don't know of any solution with the old version, but there is a new 
version of quiver in svn; with it, your example produces 
ftp://currents.soest.hawaii.edu/pub/outgoing/q.png

Eric


Erik Meyer wrote:
> When I do a plot with quiver, I get very fat vectors - the arrow head 
> length is about 0.1 times the total height of the plot. If I do the 
> following plot:
> 
> from pylab import *
> t=[-0.9,-0.7,-0.5,-0.3,-0.1,0.1,0.3,0.5,0.7,0.9]
> x,y=meshgrid(t,t)
> axis('equal')
> quiver(x,y,-y,x)
> show()
> 
> - it is very difficult to see the single vectors because they are 
> overlapping. I have tried different values of "width" in the call to 
> quiver (e.g. width=0.1), but this has no effect.
> 
> I am using Windows XP, Python 2.4.3 - Enthought Edition 1.0.0 and 
> matplotlib ver. 0.87.3 - but I saw the same problem in an earlier 
> windows installation.
> 
> /Erik Meyer
> 
> 
> 
> 
> 
> ___
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users


___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] exponent fonts with usetex

2006-06-14 Thread Ryan Krauss

I am having a problem with the fonts for exponents on semilog plots with usetex.

The attached figure can be generated on my machine with
figure(1)
t=arange(0,10,0.01)
y=sin(2*pi*t)
semilogx(t,y)

I just upgraded to the latest svn and now the y-axis plots look
different from the x-axis.
matplotlib.__version__
Out[6]: '0.87.3'


Ryan


big_exp.png
Description: PNG image
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] exponent fonts with usetex

2006-06-14 Thread Darren Dale
Hi Ryan,

I'm using the latest svn as well (2479), and I cant reproduce your problem. 
Try deleting your tex.cache.

Darren


On Wednesday 14 June 2006 18:14, Ryan Krauss wrote:
> I am having a problem with the fonts for exponents on semilog plots with
> usetex.
>
> The attached figure can be generated on my machine with
> figure(1)
> t=arange(0,10,0.01)
> y=sin(2*pi*t)
> semilogx(t,y)
>
> I just upgraded to the latest svn and now the y-axis plots look
> different from the x-axis.
> matplotlib.__version__
> Out[6]: '0.87.3'
>
>
> Ryan

-- 
Darren S. Dale, Ph.D.
Cornell High Energy Synchrotron Source
Cornell University
200L Wilson Lab
Rt. 366 & Pine Tree Road
Ithaca, NY 14853

[EMAIL PROTECTED]
office: (607) 255-9894
fax: (607) 255-9001


___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] exponent fonts with usetex

2006-06-14 Thread Ryan Krauss
There was a lot of stuff in my tex.cache, but deleting didn't solve my problem.

I may have some strange choices for my fonts and font sizes.  Can you
send me a copy of your matplotlibrc file.

Ryan

On 6/14/06, Darren Dale <[EMAIL PROTECTED]> wrote:
> Hi Ryan,
>
> I'm using the latest svn as well (2479), and I cant reproduce your problem.
> Try deleting your tex.cache.
>
> Darren
>
>
> On Wednesday 14 June 2006 18:14, Ryan Krauss wrote:
> > I am having a problem with the fonts for exponents on semilog plots with
> > usetex.
> >
> > The attached figure can be generated on my machine with
> > figure(1)
> > t=arange(0,10,0.01)
> > y=sin(2*pi*t)
> > semilogx(t,y)
> >
> > I just upgraded to the latest svn and now the y-axis plots look
> > different from the x-axis.
> > matplotlib.__version__
> > Out[6]: '0.87.3'
> >
> >
> > Ryan
>
> --
> Darren S. Dale, Ph.D.
> Cornell High Energy Synchrotron Source
> Cornell University
> 200L Wilson Lab
> Rt. 366 & Pine Tree Road
> Ithaca, NY 14853
>
> [EMAIL PROTECTED]
> office: (607) 255-9894
> fax: (607) 255-9001
>
>
> ___
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>


___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] exponent fonts with usetex

2006-06-14 Thread Ryan Krauss

I still have the problem with large exponents with your matplotlibrc
file (but the y-axis plots are no longer different).

Any thoughts on what I should try next?

Ryan

On 6/14/06, Darren Dale <[EMAIL PROTECTED]> wrote:

On Wednesday 14 June 2006 18:51, you wrote:
> There was a lot of stuff in my tex.cache, but deleting didn't solve my
> problem.
>
> I may have some strange choices for my fonts and font sizes.  Can you
> send me a copy of your matplotlibrc file.
>
> Ryan
>
> On 6/14/06, Darren Dale <[EMAIL PROTECTED]> wrote:
> > Hi Ryan,
> >
> > I'm using the latest svn as well (2479), and I cant reproduce your
> > problem. Try deleting your tex.cache.
> >
> > Darren
> >
> > On Wednesday 14 June 2006 18:14, Ryan Krauss wrote:
> > > I am having a problem with the fonts for exponents on semilog plots
> > > with usetex.
> > >
> > > The attached figure can be generated on my machine with
> > > figure(1)
> > > t=arange(0,10,0.01)
> > > y=sin(2*pi*t)
> > > semilogx(t,y)
> > >
> > > I just upgraded to the latest svn and now the y-axis plots look
> > > different from the x-axis.
> > > matplotlib.__version__
> > > Out[6]: '0.87.3'
> > >
> > >
> > > Ryan
> >
> > --
> > Darren S. Dale, Ph.D.
> > Cornell High Energy Synchrotron Source
> > Cornell University
> > 200L Wilson Lab
> > Rt. 366 & Pine Tree Road
> > Ithaca, NY 14853
> >
> > [EMAIL PROTECTED]
> > office: (607) 255-9894
> > fax: (607) 255-9001
> >
> >
> > ___
> > Matplotlib-users mailing list
> > Matplotlib-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
> ___
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users

--
Darren S. Dale, Ph.D.
Cornell High Energy Synchrotron Source
Cornell University
200L Wilson Lab
Rt. 366 & Pine Tree Road
Ithaca, NY 14853

[EMAIL PROTECTED]
office: (607) 255-9894
fax: (607) 255-9001





image.png
Description: PNG image
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] exponent fonts with usetex

2006-06-14 Thread Darren Dale
This is an artifact that was introduced when I tried to give you support for 
sans-serif fonts in the exponent. Try the attached ticker.py, it wraps the 
exponent in {\small}. Let me know if this is acceptable, and I'll commit it.

On Wednesday 14 June 2006 19:14, Ryan Krauss wrote:
> I still have the problem with large exponents with your matplotlibrc
> file (but the y-axis plots are no longer different).
>
> Any thoughts on what I should try next?
>
> Ryan
>
> On 6/14/06, Darren Dale <[EMAIL PROTECTED]> wrote:
> > On Wednesday 14 June 2006 18:51, you wrote:
> > > There was a lot of stuff in my tex.cache, but deleting didn't solve my
> > > problem.
> > >
> > > I may have some strange choices for my fonts and font sizes.  Can you
> > > send me a copy of your matplotlibrc file.
> > >
> > > Ryan
> > >
> > > On 6/14/06, Darren Dale <[EMAIL PROTECTED]> wrote:
> > > > Hi Ryan,
> > > >
> > > > I'm using the latest svn as well (2479), and I cant reproduce your
> > > > problem. Try deleting your tex.cache.
> > > >
> > > > Darren
> > > >
> > > > On Wednesday 14 June 2006 18:14, Ryan Krauss wrote:
> > > > > I am having a problem with the fonts for exponents on semilog plots
> > > > > with usetex.
> > > > >
> > > > > The attached figure can be generated on my machine with
> > > > > figure(1)
> > > > > t=arange(0,10,0.01)
> > > > > y=sin(2*pi*t)
> > > > > semilogx(t,y)
> > > > >
> > > > > I just upgraded to the latest svn and now the y-axis plots look
> > > > > different from the x-axis.
> > > > > matplotlib.__version__
> > > > > Out[6]: '0.87.3'
> > > > >
> > > > >
> > > > > Ryan
> > > >
> > > > --
> > > > Darren S. Dale, Ph.D.
> > > > Cornell High Energy Synchrotron Source
> > > > Cornell University
> > > > 200L Wilson Lab
> > > > Rt. 366 & Pine Tree Road
> > > > Ithaca, NY 14853
> > > >
> > > > [EMAIL PROTECTED]
> > > > office: (607) 255-9894
> > > > fax: (607) 255-9001
> > > >
> > > >
> > > > ___
> > > > Matplotlib-users mailing list
> > > > Matplotlib-users@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> > >
> > > ___
> > > Matplotlib-users mailing list
> > > Matplotlib-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> >
> > --
> > Darren S. Dale, Ph.D.
> > Cornell High Energy Synchrotron Source
> > Cornell University
> > 200L Wilson Lab
> > Rt. 366 & Pine Tree Road
> > Ithaca, NY 14853
> >
> > [EMAIL PROTECTED]
> > office: (607) 255-9894
> > fax: (607) 255-9001

-- 
Darren S. Dale, Ph.D.
Cornell High Energy Synchrotron Source
Cornell University
200L Wilson Lab
Rt. 366 & Pine Tree Road
Ithaca, NY 14853

[EMAIL PROTECTED]
office: (607) 255-9894
fax: (607) 255-9001


ticker.py
Description: application/python
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] exponent fonts with usetex

2006-06-14 Thread Ryan Krauss
I feel bad that I caused this problem and am now asking you to fix it.

Ryan

On 6/14/06, Darren Dale <[EMAIL PROTECTED]> wrote:
> This is an artifact that was introduced when I tried to give you support for
> sans-serif fonts in the exponent. Try the attached ticker.py, it wraps the
> exponent in {\small}. Let me know if this is acceptable, and I'll commit it.
>
> On Wednesday 14 June 2006 19:14, Ryan Krauss wrote:
> > I still have the problem with large exponents with your matplotlibrc
> > file (but the y-axis plots are no longer different).
> >
> > Any thoughts on what I should try next?
> >
> > Ryan
> >
> > On 6/14/06, Darren Dale <[EMAIL PROTECTED]> wrote:
> > > On Wednesday 14 June 2006 18:51, you wrote:
> > > > There was a lot of stuff in my tex.cache, but deleting didn't solve my
> > > > problem.
> > > >
> > > > I may have some strange choices for my fonts and font sizes.  Can you
> > > > send me a copy of your matplotlibrc file.
> > > >
> > > > Ryan
> > > >
> > > > On 6/14/06, Darren Dale <[EMAIL PROTECTED]> wrote:
> > > > > Hi Ryan,
> > > > >
> > > > > I'm using the latest svn as well (2479), and I cant reproduce your
> > > > > problem. Try deleting your tex.cache.
> > > > >
> > > > > Darren
> > > > >
> > > > > On Wednesday 14 June 2006 18:14, Ryan Krauss wrote:
> > > > > > I am having a problem with the fonts for exponents on semilog plots
> > > > > > with usetex.
> > > > > >
> > > > > > The attached figure can be generated on my machine with
> > > > > > figure(1)
> > > > > > t=arange(0,10,0.01)
> > > > > > y=sin(2*pi*t)
> > > > > > semilogx(t,y)
> > > > > >
> > > > > > I just upgraded to the latest svn and now the y-axis plots look
> > > > > > different from the x-axis.
> > > > > > matplotlib.__version__
> > > > > > Out[6]: '0.87.3'
> > > > > >
> > > > > >
> > > > > > Ryan
> > > > >
> > > > > --
> > > > > Darren S. Dale, Ph.D.
> > > > > Cornell High Energy Synchrotron Source
> > > > > Cornell University
> > > > > 200L Wilson Lab
> > > > > Rt. 366 & Pine Tree Road
> > > > > Ithaca, NY 14853
> > > > >
> > > > > [EMAIL PROTECTED]
> > > > > office: (607) 255-9894
> > > > > fax: (607) 255-9001
> > > > >
> > > > >
> > > > > ___
> > > > > Matplotlib-users mailing list
> > > > > Matplotlib-users@lists.sourceforge.net
> > > > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> > > >
> > > > ___
> > > > Matplotlib-users mailing list
> > > > Matplotlib-users@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> > >
> > > --
> > > Darren S. Dale, Ph.D.
> > > Cornell High Energy Synchrotron Source
> > > Cornell University
> > > 200L Wilson Lab
> > > Rt. 366 & Pine Tree Road
> > > Ithaca, NY 14853
> > >
> > > [EMAIL PROTECTED]
> > > office: (607) 255-9894
> > > fax: (607) 255-9001
>
> --
> Darren S. Dale, Ph.D.
> Cornell High Energy Synchrotron Source
> Cornell University
> 200L Wilson Lab
> Rt. 366 & Pine Tree Road
> Ithaca, NY 14853
>
> [EMAIL PROTECTED]
> office: (607) 255-9894
> fax: (607) 255-9001
>
>
>
>
> ___
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
>
>


___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] exponent fonts with usetex

2006-06-14 Thread Darren Dale
I didnt mean to come across so terse, I'm just really busy at work these days. 
So don't worry about it. I'm finishing a paper and am glad you caught the bug 
before I submitted the final draft.

Darren

On Wednesday 14 June 2006 19:30, Ryan Krauss wrote:
> I feel bad that I caused this problem and am now asking you to fix it.
>
> Ryan
>
> On 6/14/06, Darren Dale <[EMAIL PROTECTED]> wrote:
> > This is an artifact that was introduced when I tried to give you support
> > for sans-serif fonts in the exponent. Try the attached ticker.py, it
> > wraps the exponent in {\small}. Let me know if this is acceptable, and
> > I'll commit it.
> >
> > On Wednesday 14 June 2006 19:14, Ryan Krauss wrote:
> > > I still have the problem with large exponents with your matplotlibrc
> > > file (but the y-axis plots are no longer different).
> > >
> > > Any thoughts on what I should try next?
> > >
> > > Ryan
> > >
> > > On 6/14/06, Darren Dale <[EMAIL PROTECTED]> wrote:
> > > > On Wednesday 14 June 2006 18:51, you wrote:
> > > > > There was a lot of stuff in my tex.cache, but deleting didn't solve
> > > > > my problem.
> > > > >
> > > > > I may have some strange choices for my fonts and font sizes.  Can
> > > > > you send me a copy of your matplotlibrc file.
> > > > >
> > > > > Ryan
> > > > >
> > > > > On 6/14/06, Darren Dale <[EMAIL PROTECTED]> wrote:
> > > > > > Hi Ryan,
> > > > > >
> > > > > > I'm using the latest svn as well (2479), and I cant reproduce
> > > > > > your problem. Try deleting your tex.cache.
> > > > > >
> > > > > > Darren
> > > > > >
> > > > > > On Wednesday 14 June 2006 18:14, Ryan Krauss wrote:
> > > > > > > I am having a problem with the fonts for exponents on semilog
> > > > > > > plots with usetex.
> > > > > > >
> > > > > > > The attached figure can be generated on my machine with
> > > > > > > figure(1)
> > > > > > > t=arange(0,10,0.01)
> > > > > > > y=sin(2*pi*t)
> > > > > > > semilogx(t,y)
> > > > > > >
> > > > > > > I just upgraded to the latest svn and now the y-axis plots look
> > > > > > > different from the x-axis.
> > > > > > > matplotlib.__version__
> > > > > > > Out[6]: '0.87.3'
> > > > > > >
> > > > > > >
> > > > > > > Ryan
> > > > > >
> > > > > > --
> > > > > > Darren S. Dale, Ph.D.
> > > > > > Cornell High Energy Synchrotron Source
> > > > > > Cornell University
> > > > > > 200L Wilson Lab
> > > > > > Rt. 366 & Pine Tree Road
> > > > > > Ithaca, NY 14853
> > > > > >
> > > > > > [EMAIL PROTECTED]
> > > > > > office: (607) 255-9894
> > > > > > fax: (607) 255-9001
> > > > > >
> > > > > >
> > > > > > ___
> > > > > > Matplotlib-users mailing list
> > > > > > Matplotlib-users@lists.sourceforge.net
> > > > > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> > > > >
> > > > > ___
> > > > > Matplotlib-users mailing list
> > > > > Matplotlib-users@lists.sourceforge.net
> > > > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> > > >
> > > > --
> > > > Darren S. Dale, Ph.D.
> > > > Cornell High Energy Synchrotron Source
> > > > Cornell University
> > > > 200L Wilson Lab
> > > > Rt. 366 & Pine Tree Road
> > > > Ithaca, NY 14853
> > > >
> > > > [EMAIL PROTECTED]
> > > > office: (607) 255-9894
> > > > fax: (607) 255-9001
> >
> > --
> > Darren S. Dale, Ph.D.
> > Cornell High Energy Synchrotron Source
> > Cornell University
> > 200L Wilson Lab
> > Rt. 366 & Pine Tree Road
> > Ithaca, NY 14853
> >
> > [EMAIL PROTECTED]
> > office: (607) 255-9894
> > fax: (607) 255-9001
> >
> >
> >
> >
> > ___
> > Matplotlib-users mailing list
> > Matplotlib-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
> ___
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users

-- 
Darren S. Dale, Ph.D.
Cornell High Energy Synchrotron Source
Cornell University
200L Wilson Lab
Rt. 366 & Pine Tree Road
Ithaca, NY 14853

[EMAIL PROTECTED]
office: (607) 255-9894
fax: (607) 255-9001


___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] exponent fonts with usetex

2006-06-14 Thread Darren Dale
I agree that this little experiment of trying to work around latex's 
limitations has been too much trouble. I suggest we go back to the old 
behavior, and anyone who wants sans-serif fonts in their exponents can use 
regular mathtext. I'm hopeful that Edin can make some strides with mpl's 
mathtext support, and in the meantime, people should get decent results if 
they set ps.useafm : True in their rc settings.

Comments?


On Wednesday 14 June 2006 19:53, Ryan Krauss wrote:
> (Sorry, I submitted this email with a real figure instead of a toy
> example and the file size  was too big and it awaits moderator
> approval).
>
> I am afraid I asked you to open a can of worms and now I don't know
> what we should do.  With my font size settings, \small looks to small
> for the exponents.  I tried \normalsize and actually got decent
> results with \large (replacing all occurances of \small in your
> ticker.py).  See that attached file.  But if \small looked good with
> your settings, I am afraid things are now dependent on the font
> settings in the rc file as far as what should go in the latex command
> for the exponents.
>
> I remember that this problem came up because I complained about serif
> fonts in my exponents and we were having a hard time making tex use
> sans serif math fonts.
>
> Maybe the best solution is for me to go back in time and retract that
> complaint.
>
> I don't know.  Sorry about the mess this had made.  I have plots I am
> fairly happy with (I will poke around in my rc file and see if I can
> find out why my x and y axis fonts look different).
>
> Ryan
>
> On 6/14/06, Ryan Krauss <[EMAIL PROTECTED]> wrote:
> > I am afraid I asked you to open a can of worms and now I don't know
> > what we should do.  With my font size settings, \small looks to small
> > for the exponents.  I tried \normalsize and actually got decent
> > results with \large (replacing all occurances of \small in your
> > ticker.py).  See that attached file.  But if \small looked good with
> > your settings, I am afraid things are now dependent on the font
> > settings in the rc file as far as what should go in the latex command
> > for the exponents.
> >
> > I remember that this problem came up because I complained about serif
> > fonts in my exponents and we were having a hard time making tex use
> > sans serif math fonts.
> >
> > Maybe the best solution is for me to go back in time and retract that
> > complaint.
> >
> > I don't know.  Sorry about the mess this had made.  I have plots I am
> > fairly happy with (I will poke around in my rc file and see if I can
> > find out why my x and y axis fonts look different).
> >
> > Ryan
> >
> > On 6/14/06, Ryan Krauss <[EMAIL PROTECTED]> wrote:
> > > I feel bad that I caused this problem and am now asking you to fix it.
> > >
> > > Ryan
> > >
> > > On 6/14/06, Darren Dale <[EMAIL PROTECTED]> wrote:
> > > > This is an artifact that was introduced when I tried to give you
> > > > support for sans-serif fonts in the exponent. Try the attached
> > > > ticker.py, it wraps the exponent in {\small}. Let me know if this is
> > > > acceptable, and I'll commit it.
> > > >
> > > > On Wednesday 14 June 2006 19:14, Ryan Krauss wrote:
> > > > > I still have the problem with large exponents with your
> > > > > matplotlibrc file (but the y-axis plots are no longer different).
> > > > >
> > > > > Any thoughts on what I should try next?
> > > > >
> > > > > Ryan
> > > > >
> > > > > On 6/14/06, Darren Dale <[EMAIL PROTECTED]> wrote:
> > > > > > On Wednesday 14 June 2006 18:51, you wrote:
> > > > > > > There was a lot of stuff in my tex.cache, but deleting didn't
> > > > > > > solve my problem.
> > > > > > >
> > > > > > > I may have some strange choices for my fonts and font sizes. 
> > > > > > > Can you send me a copy of your matplotlibrc file.
> > > > > > >
> > > > > > > Ryan
> > > > > > >
> > > > > > > On 6/14/06, Darren Dale <[EMAIL PROTECTED]> wrote:
> > > > > > > > Hi Ryan,
> > > > > > > >
> > > > > > > > I'm using the latest svn as well (2479), and I cant reproduce
> > > > > > > > your problem. Try deleting your tex.cache.
> > > > > > > >
> > > > > > > > Darren
> > > > > > > >
> > > > > > > > On Wednesday 14 June 2006 18:14, Ryan Krauss wrote:
> > > > > > > > > I am having a problem with the fonts for exponents on
> > > > > > > > > semilog plots with usetex.
> > > > > > > > >
> > > > > > > > > The attached figure can be generated on my machine with
> > > > > > > > > figure(1)
> > > > > > > > > t=arange(0,10,0.01)
> > > > > > > > > y=sin(2*pi*t)
> > > > > > > > > semilogx(t,y)
> > > > > > > > >
> > > > > > > > > I just upgraded to the latest svn and now the y-axis plots
> > > > > > > > > look different from the x-axis.
> > > > > > > > > matplotlib.__version__
> > > > > > > > > Out[6]: '0.87.3'
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Ryan
> > > > > > > >
> > > > > > > > --
> > > > > > > > Darren S. Dale, Ph.D.
> > > > > > > > Cornell High Energy Synchrotron Source
> > > > > > > >