Re: [Matplotlib-users] Font not carrying through Py2Exe

2011-01-17 Thread Alex S
might not remember but you were the one that taught me how to get it into New Century Schoolbook in the first place. http://old.nabble.com/Changing-the-font-td28111472.html#a28118916 Here it is , for old times sake. Michael Droettboom-3 wrote: On 01/13/2011 11:38 AM, Alex S wrote: Hi

[Matplotlib-users] Font not carrying through Py2Exe

2011-01-13 Thread Alex S
Hi there, I've made a program that makes plots using New Century Schoolbook Lt Std font. I did this by inserting this into the matplotlibrc file: font.family : New Century Schoolbook LT Std # serif #sans-serif There's also a fontlist.cache file that I think points to it when it says:

[Matplotlib-users] Not using exponents on y-axis of log graphs

2010-04-06 Thread Alex S
Hi there, I've got a program that generates a bunch of plots with logarithmic charts. Matplotlib handles them great, but it seems to by default label the y axis ticks 10^0, 10^1, 10^2 etc. Is there an way to make it spell out these numbers instead (ie 1, 10, 100 etc)? I guess I could make

Re: [Matplotlib-users] Not using exponents on y-axis of log graphs

2010-04-06 Thread Alex S
Ah thank you very much, that works fine except for decimals... (.1, .01, .001 etc all show as 0). Is there a way to show these as well (preferably without showing all the rest of the numbers as 1.000, 10.000, 100.000)? Sorry if this is a very newbie question... I don't know what symbol does

Re: [Matplotlib-users] Not using exponents on y-axis of log graphs

2010-04-06 Thread Alex S
'%d' which was for integers and so truncated decimals). Thanks guys, Alex Alex S wrote: Ah thank you very much, that works fine except for decimals... (.1, .01, .001 etc all show as 0). Is there a way to show these as well (preferably without showing all the rest of the numbers as 1.000

Re: [Matplotlib-users] Changing the font

2010-04-05 Thread Alex S
to this list. That may help us track down where the font lookup is failing. Also, what platform and version of matplotlib are you running? Mike Alex S wrote: Hi, sorry I wasn't too clear... I changed that, but I don't seem to be able to choose between the different serif fonts, it just always

Re: [Matplotlib-users] Changing the font

2010-04-05 Thread Alex S
. It should search for fonts in the standard Windows location (usually C:\Windows\Fonts). Have you tried setting font.family to New Century Schoolbook directly? (I wonder if the secondary lookup is failing). Cheers, Mike Alex S wrote: I think I'm using MPL .99.1 (is there a command

Re: [Matplotlib-users] Changing the font

2010-04-05 Thread Alex S
of those names instead resolved the problem. Mike Alex S wrote: Ah ok, I've sent it on to you. I've just tried setting font.family to New Century Schoolbook directly but it generates something similar. I'm starting to think part of the problem is that I've set the home directory to U

Re: [Matplotlib-users] Changing the font

2010-04-01 Thread Alex S
Hi, sorry I wasn't too clear... I changed that, but I don't seem to be able to choose between the different serif fonts, it just always gives me the default... Alex S wrote: Hi there, I'm trying to change the font default on my graph to New Century Schoolbook. I'm trying to do

[Matplotlib-users] xlim with dates

2010-03-12 Thread Alex S
Hi there, does anyone know if there's a simple way to set an axis limit to a date? viewlim_to_dt() looks promising, but I can't figure out how to use it... Thanks a lot, Alex -- View this message in context: http://old.nabble.com/xlim-with-dates-tp27881612p27881612.html Sent from the

Re: [Matplotlib-users] xlim with dates

2010-03-12 Thread Alex S
Ah perfect, thanks a lot, sorry for the mundane question :) -- View this message in context: http://old.nabble.com/xlim-with-dates-tp27881612p27882177.html Sent from the matplotlib - users mailing list archive at Nabble.com.

[Matplotlib-users] Making tick marks of a secondary axis line up with the primary axis

2010-03-10 Thread Alex S
Hi there, I'm trying to make a plot with two y axes. I'm able to do that no problem, but what I'd really like to do now is make the tick marks line up for them both so that they both use the same grid. Is there a simple way to do this? Basically, I want to force the number of tick marks on

Re: [Matplotlib-users] Making an Axis Label like a legend

2010-03-09 Thread Alex S
Hmm I think I could do this with TextWithDash, but I can't manage to use it... I go: CumGasTxt = fig.text(0.5, 0.5, 'Cumulative Gas (MCF)', withdash=True) and it says AttributeError: Unknown property withdash. I tried changing fig to ax1, but although that doesn't spit out an error, it

[Matplotlib-users] Multiple Y Axes redux

2010-03-08 Thread Alex S
Hi there, I know this has been discussed in the past, but I was looking through some of the history and I'm not sure what the exact situation is. I think multiple y axes on the same side of the graph is unsupported officially, but can be hacked together somehow, is that right? Is there an

[Matplotlib-users] Making an Axis Label like a legend

2010-03-08 Thread Alex S
Hello again, I've got a question about axis labels, specifically y axis labels for multiple lines. What I'd ideally like to do is take something like the legends shown in the attached picture, rotate them 90 degrees counter clockwise, then stick them to the left of the Y axes to use it as a