[Matplotlib-users] [PATCH] multiple histograms on one axes

2007-12-10 Thread Mario Oschwald
Hi, since I have the need of multiple histograms on one axes to compare different distributions and this feature was quite often requested in the past on this list I have written a new method for the axes class to implement this. This method 'multihist' works essentially the same as the original

[Matplotlib-users] Printing gif images to file with matplotlib

2007-12-10 Thread Takashi Yamamoto
Hi, I have recently come across Matplotlib and I am very impressed with its capabilities. I am new to both Matplotlib and Python, although I have several years experience with C++ and a few other languages *(including modelling with MatLab). I have successfully embedded Python in a C++ applic

Re: [Matplotlib-users] Missing labels/text(s) in plots generated via cgi script.

2007-12-10 Thread Tim Lewis
I deleted my /.matplotlib/fontManager.cache file and ran the script again, and now everything is working fine. Thank you for your help. >It appears to be finding "wadalab-gothic" as the font, which is a >Japanese font. Now, *why* it is doing that is the million dollar question. > >It should (

Re: [Matplotlib-users] Pan/zoom interferes with user-specified right button callback.

2007-12-10 Thread John Hunter
On Dec 10, 2007 11:53 AM, Venkat Ramanan <[EMAIL PROTECTED]> wrote: > If anyone faces a similar issue, there is a solution here. > > http://scipy.org/Cookbook/Matplotlib/Interactive_Plotting > > Essentially, we should also check for "toolbar.mode" You may also want to look at the widget lock varia

Re: [Matplotlib-users] Pan/zoom interferes with user-specified right button callback.

2007-12-10 Thread Venkat Ramanan
If anyone faces a similar issue, there is a solution here. http://scipy.org/Cookbook/Matplotlib/Interactive_Plotting Essentially, we should also check for "toolbar.mode" Thanks, Venkat. Venkat Ramanan wrote: > Hi, > > I have written a simple image viewing tool with window/level controls > link

Re: [Matplotlib-users] Cross hair and polygon drawing tools.

2007-12-10 Thread Venkat Ramanan
Thanks for the pointer. The matplotlib.widget.Cursor works much better for displaying crosshairs. ( due to blitting? ) I still haven't found a tool yet for drawing a polygon. The lasso_demo.py doesn't run on my system. Well, it runs, displays a scatter of points, but I'm not sure what is it sup

Re: [Matplotlib-users] Extending Width of Yticks Legend?

2007-12-10 Thread Michael Droettboom
You can use something like: subplots_adjust(left=0.3) The value is in the range 0.0 - 1.0, and is spaced evenly across the whole figure. Cheers, Mike Gerolf Ziegenhain wrote: > Dear Mailinglist, > > I want to create a horizontal historgram. The y-labels have more text, > than fits in the

Re: [Matplotlib-users] Missing labels/text(s) in plots generated via cgi script.

2007-12-10 Thread Darren Dale
On Monday 10 December 2007 8:21:03 am Michael Droettboom wrote: > It appears to be finding "wadalab-gothic" as the font, which is a > Japanese font. Now, *why* it is doing that is the million dollar question. > > It should (by default) by loading the Bitstream Vera Sans font > (Vera.ttf) from > /u

Re: [Matplotlib-users] Missing labels/text(s) in plots generated via cgi script.

2007-12-10 Thread Michael Droettboom
It appears to be finding "wadalab-gothic" as the font, which is a Japanese font. Now, *why* it is doing that is the million dollar question. It should (by default) by loading the Bitstream Vera Sans font (Vera.ttf) from /usr/local/lib/python2.4/site-packages/matplotlib/mpl-data/fonts/ttf. I