[Matplotlib-users] Automatic subplot_params for fitting label text (was Re: Suggestions for auto scaling fonts ,

2011-01-21 Thread Paul Ivanov
etc for producing images at various scales) Reply-To: In-Reply-To: <20110121232036.GA26739@ykcyc> X-PGP-Key: http://pirsquared.org/PaulIvanov0F3E28F7.asc Paul Ivanov, on 2011-01-21 15:20, wrote: > I'm almost certain that one *can* write a function to do this > pro grammatically (without having t

Re: [Matplotlib-users] Suggestions for auto scaling fonts , etc for producing images at various scales

2011-01-21 Thread Paul Ivanov
Daryl Herzmann, on 2011-01-21 16:41, wrote: > On Fri, Jan 21, 2011 at 4:15 PM, Paul Ivanov wrote: > > > I guess I'm not sure what you meant by the fonts looking 'nasty', > > so if font.size doesn't address your issue, could you post a > > small example that does the wrong thing, along with the t

Re: [Matplotlib-users] Suggestions for auto scaling fonts , etc for producing images at various scales

2011-01-21 Thread Eric Firing
On 01/21/2011 11:42 AM, Daryl Herzmann wrote: > Greetings matplotlib users, > > Firstly, thank you so much for a great python plotting library. I use > it daily and find the library very intuitive :) My question deals > with generating raster images at multiple scales without heavy code > modific

Re: [Matplotlib-users] Suggestions for auto scaling fonts , etc for producing images at various scales

2011-01-21 Thread Paul Ivanov
Daryl Herzmann, on 2011-01-21 15:42, wrote: > Greetings matplotlib users, > > Firstly, thank you so much for a great python plotting library. I use > it daily and find the library very intuitive :) My question deals > with generating raster images at multiple scales without heavy code > modific

[Matplotlib-users] Suggestions for auto scaling fonts , etc for producing images at various scales

2011-01-21 Thread Daryl Herzmann
Greetings matplotlib users, Firstly, thank you so much for a great python plotting library. I use it daily and find the library very intuitive :) My question deals with generating raster images at multiple scales without heavy code modification. My work flow is to generate two versions of the s

Re: [Matplotlib-users] Legend for contour plots

2011-01-21 Thread Paul Ivanov
Francesco Montesano, on 2011-01-21 15:44, wrote: > Dear All, > > I am using contour plot and I am drawing different contours with > different colors and linestyles and I would like to have a legend with > a caption for each contour function used. > Here you can see an example of what I would like

Re: [Matplotlib-users] Fonts not found

2011-01-21 Thread Uri Laserson
Homebrew is a newish package management system that is Git-based: http://mxcl.github.com/homebrew/ ... Uri Laserson Graduate Student, Biomedical Engineering Harvard-MIT Division of Health Sciences and Technology M +1 9

Re: [Matplotlib-users] Fonts not found

2011-01-21 Thread Uri Laserson
Problem solved. Thanks! Uri ... Uri Laserson Graduate Student, Biomedical Engineering Harvard-MIT Division of Health Sciences and Technology M +1 917 742 8019 laser...@mit.edu On Fri, Jan 21, 2011 at 12:44, todd rm

Re: [Matplotlib-users] Fonts not found

2011-01-21 Thread Friedrich Romstedt
2011/1/21 todd rme : > I had the same problem when I upgraded from python 2.6 to 2.7.  For > me, the issue turned out to be with my matplotlib font cache, which > was stored in my matplotlib config directory.  On linux it is in > .matplotlib directory in the home directory, I am not sure if this is

Re: [Matplotlib-users] rcParams['figure.dpi'] has no effect?

2011-01-21 Thread Paul Ivanov
Bala subramanian, on 2011-01-21 12:17, wrote: > Daniel, > Did you try saving the figure with same dpi ?. Try the following. > > plt.savefig('name',dpi=300) > > On Fri, Jan 21, 2011 at 9:08 AM, Daniel Mader < > danielstefanma...@googlemail.com> wrote: > > > Hi, > > > > I need to create a huge ra

Re: [Matplotlib-users] Fonts not found

2011-01-21 Thread todd rme
On Thu, Jan 20, 2011 at 2:09 PM, Uri Laserson wrote: > Hi all, > I recently reinstalled MPL from scratch on top of python2.7 that I built > from scratch using homebrew on OS X Snow Leopard.  Since then, I have been > getting the following types of warnings whenever I plot something: > /Users/laser

Re: [Matplotlib-users] Fonts not found

2011-01-21 Thread Friedrich Romstedt
2011/1/20 Uri Laserson : > Hi all, > I recently reinstalled MPL from scratch on top of python2.7 that I built > from scratch using homebrew on OS X Snow Leopard.  Since then, I have been > getting the following types of warnings whenever I plot something: > /Users/laserson/matplotlib/lib/python2.7/

Re: [Matplotlib-users] rcParams['figure.dpi'] has no effect?

2011-01-21 Thread Bala subramanian
Daniel, Did you try saving the figure with same dpi ?. Try the following. plt.savefig('name',dpi=300) On Fri, Jan 21, 2011 at 9:08 AM, Daniel Mader < danielstefanma...@googlemail.com> wrote: > Hi, > > I need to create a huge range of plots with need to fit into a report > (OpenOffice or Word). I

[Matplotlib-users] rcParams['figure.dpi'] has no effect?

2011-01-21 Thread Daniel Mader
Hi, I need to create a huge range of plots with need to fit into a report (OpenOffice or Word). In order to save the work of manual resizing them when dragged and dropped, I wanted to preset a correct figure size with a nice resolution: pylab.rcParams['figure.figsize'] = 5,4 pylab.rcParams['figur