Re: [Matplotlib-users] Display chinese labels

2010-10-11 Thread Michael Droettboom
On 10/10/2010 03:13 PM, Benoit Gaillard wrote: Hi, How can one display Mandarin labels in a plot, as yticks_labels for example? It looks to me that there is no font in matplotlib that can display Chinese characters? I can display accentuation from 'utf8' but i could not find a font family tha

Re: [Matplotlib-users] Best way to use Excel Data

2010-10-11 Thread Peter Butterworth
Hi Alessio, Thank you for the sqlite code example. What have been the key advantages of using a Database over a structured array for your applications ? http://docs.python.org/library/sqlite3.html : SQLite is a C library that provides a lightweight disk-based database that doesn’t require a sepa

Re: [Matplotlib-users] 3d plot scientific notation problem on x and y axis.

2010-10-11 Thread Benjamin Root
On Sun, Oct 10, 2010 at 8:54 PM, Burak TUYSUZ wrote: > > I am trying to show the numbers at x and y axis in scientific notation but > it does not work. > Can anyone help me. > Thank you in advance. > Here is the code and fs is 60 000 000. > > >from matplotlib.ticker import ScalarFormatter >

[Matplotlib-users] Annotation Toolbar

2010-10-11 Thread Peter Butterworth
Hi, I believe it is not currently possible to change the toolbar in a backend independent manner. I do agree it would be a nice feature though. I think it would be possible to change the toolbar without embedding with a syntax not all that different from the one you suggest. In the figure window,

[Matplotlib-users] Display chinese labels

2010-10-11 Thread Benoit Gaillard
Hi, How can one display Mandarin labels in a plot, as yticks_labels for example? It looks to me that there is no font in matplotlib that can display Chinese characters? I can display accentuation from 'utf8' but i could not find a font family that would display Chinese characters. Here is an exa

[Matplotlib-users] 3d plot scientific notation problem on x and y axis.

2010-10-11 Thread Burak TUYSUZ
I am trying to show the numbers at x and y axis in scientific notation but it does not work. Can anyone help me. Thank you in advance. Here is the code and fs is 60 000 000. from matplotlib.ticker import ScalarFormatter formatter = ScalarFormatter(useMathText=True) formatter.set_scientif

Re: [Matplotlib-users] subscript without latex

2010-10-11 Thread Michael Droettboom
You have a choice of the built-in math layout engine (mathtext) and using the real LaTeX for this. The rcParam "text.usetex", when True, will use LaTeX. I'm not sure I fully understand the question, though. To get the Greek alpha character, Unicode will be used in the output. You've demonst

[Matplotlib-users] subscript without latex

2010-10-11 Thread Ruggero
Hello, how I can write a simple formula like this: $\alpha_0$ without latex using unicode? My problem is how to write sub(super)script. Thanks. -- Beautiful is writing same markup. Internet Explorer 9 supports standards fo

[Matplotlib-users] Annotation Toolbar

2010-10-11 Thread Bartosz Telenczuk
Dear all, I am working on a custom toolbar with annotation tools (such as arrows, text etc.) which would be a replacement or addition to the standard navigation toolbar usually available at the bottom of the figure window. So far in order to add the toolbar I use the example embedding_in_gtk2.