Re: [Matplotlib-users] Display chinese labels

2010-10-13 Thread sunqiang
On Wed, Oct 13, 2010 at 5:30 PM, Benoit Gaillard wrote: > Actually, i must apologize > > By calling fonts by their real name eg: "WenQuanYi Zen Hei" (instead of > wqy-microhei, their file name), i can display them. So no worries for issue > 2. However, I do not manage to export the png to pdf or e

Re: [Matplotlib-users] scatter3D

2010-10-13 Thread Benjamin Root
On Wed, Oct 13, 2010 at 5:46 PM, Pedro M. Ferreira wrote: > Hi All, > > I have been trying to make a 3D scatter plot using mplot3d and I would > like the markers to have their colour according to the Z value. > >From what I understood in the tutorial and API I have to use the cmap > and norm kwarg

Re: [Matplotlib-users] dolphin save as svg broken

2010-10-13 Thread Fernando Perez
On Wed, Oct 13, 2010 at 6:33 AM, Michael Droettboom wrote: > Yes, but this is fixed in SVN 1.0 branch and trunk -- at least for me. > Not for you? And for the record, I can confirm that from trunk, a saved dolphins.svg opens OK with inkscape. The bug (as mentioned on -dev) we're seeing is actual

Re: [Matplotlib-users] dolphin save as svg broken

2010-10-13 Thread Fernando Perez
On Wed, Oct 13, 2010 at 11:34 AM, Fernando Perez wrote: > > Nope, identical behavior, just tested with a rebuilt-from-now numpy and mpl: > OK, the plot thickens. I may have spoken too fast: the behavior we see in the Qt console is indeed the same I reported earlier, and the MPL bug where doing p

[Matplotlib-users] scatter3D

2010-10-13 Thread Pedro M. Ferreira
Hi All, I have been trying to make a 3D scatter plot using mplot3d and I would like the markers to have their colour according to the Z value. >From what I understood in the tutorial and API I have to use the cmap and norm kwargs, but all my attempts failed. I am trying to do it like this: ax.sca

Re: [Matplotlib-users] dolphin save as svg broken

2010-10-13 Thread Fernando Perez
On Wed, Oct 13, 2010 at 11:29 AM, Jouni K. Seppänen wrote: > > Is there a way to ask apt what the build dependencies for a package are, > and then install only a subset? A crude but functional way is to just run apt-get build-dep, and then cancel the actual download. That list is printed on scre

Re: [Matplotlib-users] user group video

2010-10-13 Thread Jouni K . Seppänen
Carl Karsten writes: > Anyone know if this message is archived somewhere: > "Jeez, you guys have some crazy examples. I am surprised there isn't > dolphins swimming around inside a sphere." You probably mean this one: http://article.gmane.org/gmane.comp.python.matplotlib.general/13648 -- Joun

Re: [Matplotlib-users] dolphin save as svg broken

2010-10-13 Thread Fernando Perez
On Wed, Oct 13, 2010 at 6:33 AM, Michael Droettboom wrote: > Yes, but this is fixed in SVN 1.0 branch and trunk -- at least for me. > Not for you? Nope, identical behavior, just tested with a rebuilt-from-now numpy and mpl: amirbar[matplotlib]> svn info Path: . URL: https://matplotlib.svn.source

Re: [Matplotlib-users] dolphin save as svg broken

2010-10-13 Thread Jouni K . Seppänen
Carl Karsten writes: >>> "Need to get 535MB of archives." >> > The following NEW packages will be installed: [...] > texlive-doc-base texlive-extra-utils texlive-font-utils It seems to be pulling in all of TeX Live, which is huge and by no means necessary to run matplotlib. Matplotlib can pass

Re: [Matplotlib-users] dolphin save as svg broken

2010-10-13 Thread Carl Karsten
On Wed, Oct 13, 2010 at 11:37 AM, Carl Karsten wrote: > On Wed, Oct 13, 2010 at 11:14 AM, John Hunter wrote: >> On Wed, Oct 13, 2010 at 10:45 AM, Carl Karsten >> wrote: >> >>> "Need to get 535MB of archives." >>> >>> I am on a pretty slow shared connection, so need to wait a week to get >>> bac

Re: [Matplotlib-users] dolphin save as svg broken

2010-10-13 Thread Carl Karsten
On Wed, Oct 13, 2010 at 11:14 AM, John Hunter wrote: > On Wed, Oct 13, 2010 at 10:45 AM, Carl Karsten wrote: > >> "Need to get 535MB of archives." >> >> I am on a pretty slow shared connection, so need to wait a week to get >> back home before I do this. > > How much does just the mpl part cost y

Re: [Matplotlib-users] dolphin save as svg broken

2010-10-13 Thread John Hunter
On Wed, Oct 13, 2010 at 10:45 AM, Carl Karsten wrote: > "Need to get 535MB of archives." > > I am on a pretty slow shared connection, so need to wait a week to get > back home before I do this. How much does just the mpl part cost you? ---

Re: [Matplotlib-users] dolphin save as svg broken

2010-10-13 Thread Carl Karsten
On Wed, Oct 13, 2010 at 10:43 AM, Carl Karsten wrote: > On Wed, Oct 13, 2010 at 10:25 AM, John Hunter wrote: >> sudo apt-get build_dep numpy scipy matplotlib > > E: Unable to find a source package for numpy > > I am guessing it should be: > >  sudo apt-get build-dep python-numpy python-scipy pyth

Re: [Matplotlib-users] dolphin save as svg broken

2010-10-13 Thread Carl Karsten
On Wed, Oct 13, 2010 at 10:25 AM, John Hunter wrote: > sudo apt-get build_dep numpy scipy matplotlib E: Unable to find a source package for numpy I am guessing it should be: sudo apt-get build-dep python-numpy python-scipy python-matplotlib -- Carl K

Re: [Matplotlib-users] dolphin save as svg broken

2010-10-13 Thread John Hunter
On Wed, Oct 13, 2010 at 10:19 AM, Carl Karsten wrote: > On Wed, Oct 13, 2010 at 8:33 AM, Michael Droettboom wrote: >> On 10/12/2010 07:16 PM, Fernando Perez wrote: >>> On Tue, Oct 12, 2010 at 3:03 PM, Carl Karsten   >>> wrote: >>> Run the code, you get a window that has a 'save' button, the

Re: [Matplotlib-users] dolphin save as svg broken

2010-10-13 Thread Carl Karsten
On Wed, Oct 13, 2010 at 8:33 AM, Michael Droettboom wrote: > On 10/12/2010 07:16 PM, Fernando Perez wrote: >> On Tue, Oct 12, 2010 at 3:03 PM, Carl Karsten  wrote: >> >>> Run the code, you get a window that has a 'save' button, the dialog >>> has a 'type svg' option >>> the svg renders with the bl

Re: [Matplotlib-users] Equation

2010-10-13 Thread John Hunter
On Wed, Oct 13, 2010 at 9:28 AM, Waléria Antunes David wrote: > Hi all, > > I know here is a group for matplotlib, but can anyone help me? I need to > pass this integral equation for for scipy.integrate pack for python. > > My integral equation is attached. > > Can anyone help me? 1. Subscribe t

[Matplotlib-users] Equation

2010-10-13 Thread Waléria Antunes David
Hi all, I know here is a group for matplotlib, but can anyone help me? I need to pass this integral equation for for scipy.integrate pack for python. My integral equation is attached. Can anyone help me? Thanks Waleria. <>-

Re: [Matplotlib-users] dolphin save as svg broken

2010-10-13 Thread Michael Droettboom
On 10/12/2010 07:16 PM, Fernando Perez wrote: > On Tue, Oct 12, 2010 at 3:03 PM, Carl Karsten wrote: > >> Run the code, you get a window that has a 'save' button, the dialog >> has a 'type svg' option >> the svg renders with the blue/green dots everywhere (rendering using >> both rsvg-view and

Re: [Matplotlib-users] Display chinese labels

2010-10-13 Thread Benoit Gaillard
Actually, i must apologize By calling fonts by their real name eg: "WenQuanYi Zen Hei" (instead of wqy-microhei, their file name), i can display them. So no worries for issue 2. However, I do not manage to export the png to pdf or eps due to the following error: "TrueType font is missing ta

Re: [Matplotlib-users] Display chinese labels

2010-10-13 Thread Benoit Gaillard
Hi, When looking in my fontFile.cache, i did not find any of '/usr/share/fonts/truetype/wqy/wqy-zenhei.ttf', '/usr/share/fonts/truetype/wqy/wqy-microhei.ttf' or simhei. this is why i could not display the characters. I deleted the cache and re-lounched my script, so that mpl had to look f