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

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

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 Karstenc...@personnelware.com 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

[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. attachment:

Re: [Matplotlib-users] Equation

2010-10-13 Thread John Hunter
On Wed, Oct 13, 2010 at 9:28 AM, Waléria Antunes David waleriantu...@gmail.com 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?

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 md...@stsci.edu wrote: On 10/12/2010 07:16 PM, Fernando Perez wrote: On Tue, Oct 12, 2010 at 3:03 PM, Carl Karstenc...@personnelware.com  wrote: Run the code, you get a window that has a 'save' button, the dialog has a 'type svg' option the

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 c...@personnelware.com wrote: On Wed, Oct 13, 2010 at 8:33 AM, Michael Droettboom md...@stsci.edu wrote: On 10/12/2010 07:16 PM, Fernando Perez wrote: On Tue, Oct 12, 2010 at 3:03 PM, Carl Karstenc...@personnelware.com   wrote: Run the code, 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 c...@personnelware.com wrote: On Wed, Oct 13, 2010 at 10:25 AM, John Hunter jdh2...@gmail.com 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

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 c...@personnelware.com 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 11:14 AM, John Hunter jdh2...@gmail.com wrote: On Wed, Oct 13, 2010 at 10:45 AM, Carl Karsten c...@personnelware.com 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

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 c...@personnelware.com wrote: On Wed, Oct 13, 2010 at 11:14 AM, John Hunter jdh2...@gmail.com wrote: On Wed, Oct 13, 2010 at 10:45 AM, Carl Karsten c...@personnelware.com wrote: Need to get 535MB of archives. I am on a pretty slow shared

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

2010-10-13 Thread Jouni K . Seppänen
Carl Karsten c...@personnelware.com 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.

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 md...@stsci.edu 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:

Re: [Matplotlib-users] user group video

2010-10-13 Thread Jouni K . Seppänen
Carl Karsten c...@personnelware.com 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:

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 j...@iki.fi 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

[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:

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 fperez@gmail.com 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

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 md...@stsci.edu 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

Re: [Matplotlib-users] scatter3D

2010-10-13 Thread Benjamin Root
On Wed, Oct 13, 2010 at 5:46 PM, Pedro M. Ferreira pmffferre...@gmail.comwrote: 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

Re: [Matplotlib-users] Display chinese labels

2010-10-13 Thread sunqiang
On Wed, Oct 13, 2010 at 5:30 PM, Benoit Gaillard benoit.gaill...@univ-tlse2.fr 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