Re: [Matplotlib-users] set font problem.

2008-09-13 Thread sa6113
Thanks for your help, it works, but it is very difficult because I want to show a FontDialog contains all fonts in system to user and change the plot text (Legend, Label and ex.) font to that. How may I accomplish that? Is there any way? sa6113 wrote: > > I want to set all font system to my tex

Re: [Matplotlib-users] set font problem.

2008-09-13 Thread John Hunter
On Sat, Sep 13, 2008 at 4:35 AM, sa6113 <[EMAIL PROTECTED]> wrote: > > I want to set all font system to my texts, but I can't set all the fonts. I > am using this code: > > font= FontProperties( size='small' ,fname = 'Tahoma' ) > self.ax.legend(line, label, legend , prop =

Re: [Matplotlib-users] Fwd: WxAgg Figures not updating

2008-09-13 Thread John Hunter
On Sat, Sep 13, 2008 at 12:03 AM, Marshall Tappen <[EMAIL PROTECTED]> wrote: > I am having problems with the WxAgg backend on the Mac not updating > figures. Using this test code: > for i in xrange(250,len(x),25): > h.set_data(x[:i],y[:i]) > axis([0,6*pi,-2,2]) > draw() > time.sleep(0.5)

Re: [Matplotlib-users] Two questions regarding axis scaling

2008-09-13 Thread Jeff Whitaker
Jeremy Conlin wrote: > > > On Fri, Sep 12, 2008 at 4:31 PM, Jeff Whitaker <[EMAIL PROTECTED] > > wrote: > > Jeremy Conlin wrote: > > First question: > I know I can do pylab.loglog() to get a log-log plot. I would > like to create a log-linear

[Matplotlib-users] set font problem.

2008-09-13 Thread sa6113
I want to set all font system to my texts, but I can't set all the fonts. I am using this code: font= FontProperties( size='small' ,fname = 'Tahoma' ) self.ax.legend(line, label, legend , prop = font ) It raises this error : font = FT2Font(str(fname)) RuntimeError: Coul