Re: [Matplotlib-users] Line2D and ticks are misaligned in TkAgg backend

2013-02-28 Thread Benjamin Root
On Thu, Feb 28, 2013 at 7:00 AM, Aditya Gilra wrote: > Hi, > > I need to set the frame off for my plots, so that I can have axes only on > the sides I want, rather than on all four sides. > I do it this way: > > from pylab import * > > fig = figure(figsize=(3,2),dpi=300,facecolor='w') > ax = fig.a

Re: [Matplotlib-users] Unicode characters in PS output

2013-02-28 Thread Thomas Sprinzing
Am 28.02.2013 um 14:31 schrieb Pierre Haessig: > Hi Thomas, > > Le 27/02/2013 20:59, Thomas Sprinzing a écrit : >> To sum it up: use the old 7-bit equivalent for the degree sign, not any >> fancydancy UTF-8 character that is commonly not included in ye olde style >> postscript standard font em

Re: [Matplotlib-users] Unicode characters in PS output

2013-02-28 Thread Gökhan Sever
Okay, fair enough. But do you have any ideas, how to force the PS creator to use a different font? Say -> font Times-Bold On Wed, Feb 27, 2013 at 12:59 PM, Thomas Sprinzing < sprinz...@hdm-stuttgart.de> wrote: > I'd say it's got nearly nothing to do with matplotlib. > > The question is: will t

Re: [Matplotlib-users] cross correlation

2013-02-28 Thread Pierre Haessig
Hi, Le 27/02/2013 10:01, Sudheer Joseph a écrit : > I was checking the plt.xcorr and it calls the np.correlate in side it. > It calls np.correlate(ts1,ts2, mode=2). Just as a side note, mode=2 is the old fashioned way to specify mode='full' [1]. This may help in reading the numpy.correlate doc. T

[Matplotlib-users] Line2D and ticks are misaligned in TkAgg backend

2013-02-28 Thread Aditya Gilra
Hi, I need to set the frame off for my plots, so that I can have axes only on the sides I want, rather than on all four sides. I do it this way: from pylab import * fig = figure(figsize=(3,2),dpi=300,facecolor='w') ax = fig.add_subplot(111,frameon=False) ax.add_artist(Line2D((0, 0), (0, 1),colo

Re: [Matplotlib-users] getting matplotlib to recognize a new font

2013-02-28 Thread CAB
That did it, Ben! Many thanks, Chad From: Benjamin Root To: CAB Cc: Matplotlib Users Sent: Thursday, February 28, 2013 8:19 AM Subject: Re: [Matplotlib-users] getting matplotlib to recognize a new font On Thu, Feb 28, 2013 at 8:40 AM, CAB wrote:

Re: [Matplotlib-users] Unicode characters in PS output

2013-02-28 Thread Pierre Haessig
Hi Thomas, Le 27/02/2013 20:59, Thomas Sprinzing a écrit : > To sum it up: use the old 7-bit equivalent for the degree sign, not any > fancydancy UTF-8 character that is commonly not included in ye olde style > postscript standard font embedded into your laser printer wy back then in > the

Re: [Matplotlib-users] getting matplotlib to recognize a new font

2013-02-28 Thread Benjamin Root
On Thu, Feb 28, 2013 at 8:40 AM, CAB wrote: > Hi, All, > > I am using matplotlib 1.2.0 under Windows 7 64-bit. > > I am trying to get matplotlib to recognize a new font that I downloaded > (Arimo, for the curious). I put the .ttf files in the matplotlib ttf font > directory (...\\fonts\\ttf\\Ari

[Matplotlib-users] getting matplotlib to recognize a new font

2013-02-28 Thread CAB
Hi, All, I am using matplotlib 1.2.0 under Windows 7 64-bit. I am trying to get matplotlib to recognize a new font that I downloaded (Arimo, for the curious).  I put the .ttf files in the matplotlib ttf font directory (...\\fonts\\ttf\\ArimoRegularLatin.ttf, etc.), where Bitstream Vera Sans, S