Re: [Matplotlib-users] MatPlotLib + Py2exe, backend problems ...

2008-02-20 Thread kc106_2005-matplotlib
Ok, I know what the problem is. I was using a sample setup.py posted by Stef and in his setup, he created a "mpl-data" subdirectory under "dist" to store all of the data files use by matplotlib. That's why matplotlib couldn't find it without a set statement. After changing the name to "matplotli

Re: [Matplotlib-users] subplots with linked axes

2008-02-20 Thread Nick Granger-Brown
Thanks Michael! I'm new to this but I'm still kicking myself for not spotting it. Just what I was looking for. Nick Granger-Brown +44 (0)23 9249 6727 -Original Message- From: Michael Droettboom [mailto:[EMAIL PROTECTED] Sent: 20 February 2008 13:21 To: Nick Granger-Brown Cc: matplot

Re: [Matplotlib-users] MatPlotLib + Py2exe, backend problems ...

2008-02-20 Thread Werner F. Bruhin
Hi, [EMAIL PROTECTED] wrote: > I *finally* got this to work!!! > > Thanks to Werner's message, I found the culpit: the > matplotlibrc file copied to the dist directory > contains the TkAgg backend. All I had to do is to > change *that* file to say: > > backend : WXAgg > > Note that it's n

Re: [Matplotlib-users] subplots with linked axes

2008-02-20 Thread Michael Droettboom
It sounds like what you want is to use the "shared axis" functionality. See the shared_axis_demo.py http://matplotlib.sourceforge.net/examples/shared_axis_demo.py Cheers, Mike Nick Granger-Brown wrote: > I would like to plot two or three graphs as subplots in a figure and > control the axes su

Re: [Matplotlib-users] subplots with linked axes

2008-02-20 Thread John Hunter
On Feb 20, 2008 6:30 AM, Nick Granger-Brown <[EMAIL PROTECTED]> wrote: > > > I would like to plot two or three graphs as subplots in a figure and control > the axes such that when one graph is zoomed the others are adjusted too. I > was hoping there would be a notification mechanism which would al

Re: [Matplotlib-users] STIX font baseline shifted in screen and png backend

2008-02-20 Thread Michael Droettboom
Yeah -- the hinting doesn't seem work very well with the STIX fonts. I may need to expose an option in the font backend to turn hinting off. Thanks for the report, Mike Bernhard Voigt wrote: > Hi! > > Using the STIX fonts, the baseline of mathtext glyphs is corrupt using > screen backands lik

Re: [Matplotlib-users] automatically choose line markers/styles?

2008-02-20 Thread Gary Ruben
Just an idea: Maybe you could also auto cycle between dash types if only the colour and not the dash type is specified in a plot command. The gnuplot default would be one model, or the predefined patterns in CorelDraw or Inkscape etc. Personally I don't see this as a high priority though. Gary

[Matplotlib-users] subplots with linked axes

2008-02-20 Thread Nick Granger-Brown
I would like to plot two or three graphs as subplots in a figure and control the axes such that when one graph is zoomed the others are adjusted too. I was hoping there would be a notification mechanism which would allow me to catch a rescaling of one subplot and redraw the others in step. Can an

Re: [Matplotlib-users] MatPlotLib + Py2exe, backend problems ...

2008-02-20 Thread kc106_2005-matplotlib
I *finally* got this to work!!! Thanks to Werner's message, I found the culpit: the matplotlibrc file copied to the dist directory contains the TkAgg backend. All I had to do is to change *that* file to say: backend : WXAgg Note that it's not the matplotlibrc in the installed copy - but

Re: [Matplotlib-users] [wxPython-users] Re: MatPlotLib + Py2exe, backend problems ...

2008-02-20 Thread Werner F. Bruhin
Hi Robin and Stef, Robin wrote: > > This is a binary distribution, that is one that has already been > compiled on a different machine. This won't have the setup.cfg file, > since it is a file that is used to configure the compilation process > of matplotlib. Also this is why you can only use

Re: [Matplotlib-users] [wxPython-users] Re: MatPlotLib + Py2exe, backend problems ...

2008-02-20 Thread Werner F. Bruhin
Stef, Stef Mientki wrote: > ... > btw, i just saw this on "matplotlibrc" > CONFIGURATION BEGINS HERE > # the default backend; one of GTK GTKAgg GTKCairo FltkAgg QtAgg TkAgg > # WX WXAgg Agg Cairo GD GDK Paint PS PDF SVG Template > backend : TkAgg > numerix : numpy # numpy, Numeric

Re: [Matplotlib-users] MatPlotLib + Py2exe, backend problems ...

2008-02-20 Thread Werner F. Bruhin
Hi, [EMAIL PROTECTED] wrote: > So, do I understand this correctly: > > In order to get rid of the Tkinter problem when > building a matplotlib application using py2exe, I need > 0.91.2 ver of matplotlib and use the setup.cfg file to > select the backend I want (wxpython in my case). Then > run py

[Matplotlib-users] STIX font baseline shifted in screen and png backend

2008-02-20 Thread Bernhard Voigt
Hi! Using the STIX fonts, the baseline of mathtext glyphs is corrupt using screen backands like GTK or TK. The problem does not appear using the ps or pdf backend. Attached is png and eps file of a semilogy plot with a mathtext xlabel. The ytick labes and the xlabel are skrewed in the png. Best w