Re: [Matplotlib-users] MPL uses character not defined by cmr10?

2010-04-29 Thread Tony S Yu
On Apr 29, 2010, at 11:51 PM, Tony S Yu wrote: > > On Apr 29, 2010, at 10:43 PM, Tony S Yu wrote: > >> >> On Apr 29, 2010, at 6:09 PM, Michael Droettboom wrote: >> >>> Those Computer Modern fonts (specifically the Bakoma distribution of them >>> that matplotlib includes) use a custom charact

Re: [Matplotlib-users] MPL uses character not defined by cmr10?

2010-04-29 Thread Tony S Yu
On Apr 29, 2010, at 10:43 PM, Tony S Yu wrote: > > On Apr 29, 2010, at 6:09 PM, Michael Droettboom wrote: > >> Those Computer Modern fonts (specifically the Bakoma distribution of them >> that matplotlib includes) use a custom character set mapping where many of >> the characters are in compl

Re: [Matplotlib-users] How to set constant y-axis scale value

2010-04-29 Thread PHobson
> -Original Message- > From: melons [mailto:xic...@cc.hut.fi] > Sent: Wednesday, April 28, 2010 5:14 AM > To: matplotlib-users@lists.sourceforge.net > Subject: [Matplotlib-users] How to set constant y-axis scale value > > > Hello, > > I am quite new in matplotlib, I am now facing a quite

Re: [Matplotlib-users] MPL uses character not defined by cmr10?

2010-04-29 Thread Michael Droettboom
Those Computer Modern fonts (specifically the Bakoma distribution of them that matplotlib includes) use a custom character set mapping where many of the characters are in completely arbitrary locations.  For regular text, matplotlib expects a regular Unicode font (particularly to get the minus

Re: [Matplotlib-users] How to set constant y-axis scale value

2010-04-29 Thread Eric Firing
melloncx wrote: > Hello, > > I am quite new in matplotlib, I am now facing a quite simple problem but > have no idea to solve. I just want set the y axis scale to value 100, which > means in the image, the y axis is always of scale 100, because the points in > my image indicates the percentage val

[Matplotlib-users] Labels end up outside figure

2010-04-29 Thread acoffeemug
Hi, I have tried to make a plot using the twinx() method to get different left and right scales in the same plot. The plot looks fine, but the y labels end up outside the figure. The same problem can be seen in the example from the matplot homepage: http://matplotlib.sourceforge.net/examples/ap

[Matplotlib-users] [SPAM] PLEASE OPEN THIS ATTACHMENT AND HELP MY SON WHO IS IN DENGER

2010-04-29 Thread Mrs. Shirley Godwin
From Mrs. Shirley Godwin.pdf Description: Binary data -- ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ma

[Matplotlib-users] Horizontal and vertical lines between subplots

2010-04-29 Thread Maxime Bois
Hi all, I have created a figure with 4 subplots (2x2) and I want to separate them with a vertical and horizontal lines (see the green lines on my figure edited by Gimp) but I don't know if it's possible (I haven't find any example of that). I am using Python 2.5.4 and matplotlib version 0.99

[Matplotlib-users] How to set constant y-axis scale value

2010-04-29 Thread melloncx
Hello, I am quite new in matplotlib, I am now facing a quite simple problem but have no idea to solve. I just want set the y axis scale to value 100, which means in the image, the y axis is always of scale 100, because the points in my image indicates the percentage value(for example, 20%, 87%) w

Re: [Matplotlib-users] linestyles in LineCollection

2010-04-29 Thread Carlos Grohmann
Hi there I found that the error is related to legend! If I disable self.plotaxes.legend(bbox_to_anchor=(0.95, 0.95), loc=2, prop=FontProperties(size='small'),numpoints=1) I can change the linestyles and it works like a charm, but if I turn on that line again... just errors. can anyone think of

[Matplotlib-users] MPL uses character not defined by cmr10?

2010-04-29 Thread Tony S Yu
There was a recent thread about the font sizes not matching up between regular text and math text. I decided I'd try to get matching font sizes by using computer modern as the default font, so I added the following to my matplotlibrc file:font.family: seriffont.serif: cmr10This fixes the font size

Re: [Matplotlib-users] Is there any way *not* to embed fonts?

2010-04-29 Thread Michael Droettboom
You can set the rcParam svg.embed_char_paths to False. Mike On 04/29/2010 01:43 PM, Ariel Rokem wrote: Hi everyone, Is there any way to get a svg output of a matplotlib, with the fonts not embedded as vector graphic? That is, is there any way to make a figure, such that a vector image editin

[Matplotlib-users] Is there any way *not* to embed fonts?

2010-04-29 Thread Ariel Rokem
Hi everyone, Is there any way to get a svg output of a matplotlib, with the fonts not embedded as vector graphic? That is, is there any way to make a figure, such that a vector image editing program (such as Adobe Illustrator) would recognize the text as text and would allow editing of the text, c

Re: [Matplotlib-users] Colored bitmaps with MathTextParser

2010-04-29 Thread Michael Droettboom
I don't see this here (on the wx Buttons in the mathtext_wx.py example, at least).  What are you using to display this bitmap?  It may be a premultiplied/nonpremultiplied alpha problem.  Are you using the code I attached, or setting the red channel to the text image as well? Mike On 04/29/201

Re: [Matplotlib-users] Incompatibility with axvspan and legend on a semilog plot

2010-04-29 Thread Michael Droettboom
That is indeed a bug. This has now been fixed in SVN r8288. You can apply this patch to your local copy if you aren't running from SVN: http://matplotlib.svn.sourceforge.net/viewvc/matplotlib?view=rev&revision=8288 Mike On 04/28/2010 09:29 PM, Shrividya Ravi wrote: Hi all, I am having a pro

Re: [Matplotlib-users] plotyy equivalent example -- png output

2010-04-29 Thread James Jack
Thank you Matthias :) I think the problem here is that I never found an example showing 'twin' scales, so I botched it to get the same result! Cheers James -- ___ Matplotlib-use

Re: [Matplotlib-users] plotyy equivalent example -- png output

2010-04-29 Thread Matthias Michler
On Thursday 29 April 2010 15:02:34 James Jack wrote: > Below is the working code to plot two different data series with different > units on the same graph, with the same x co-ordinates: > > > > import pylab > # generate some data > x = range(0, 10) > y1 = [i*i for i in x] > y2 = [pylab.sin(0.4*i)

[Matplotlib-users] plotyy equivalent example -- png output

2010-04-29 Thread James Jack
Below is the working code to plot two different data series with different units on the same graph, with the same x co-ordinates: import pylab # generate some data x = range(0, 10) y1 = [i*i for i in x] y2 = [pylab.sin(0.4*i) for i in x] # the data share x axis but have different y units figure