Re: [Matplotlib-users] Using 'scaled' for aspect ratio

2007-01-03 Thread Eric Firing
Mark Bakker wrote: > The enhanced way of handling aspect ratios that Eric implemented works > great. > There is, however, one change from the old implementation that I don't like. > > In the old implementation, when setting axis('scaled') it also turned > autoscale off. > This makes sense (and I

[Matplotlib-users] Using 'scaled' for aspect ratio

2007-01-03 Thread Mark Bakker
The enhanced way of handling aspect ratios that Eric implemented works great. There is, however, one change from the old implementation that I don't like. In the old implementation, when setting axis('scaled') it also turned autoscale off. This makes sense (and I used it a lot). It means that you

Re: [Matplotlib-users] How can I set the backgroundcolor of text with set_backgroundcolor ?

2007-01-03 Thread Mark Bakker
Thanks for writing the convenience function John ! I think there is a large group (like the students in my class) who use matplotlib as a simple tool to make beautiful graphs. To compete with matlab we need to keep simple tasks simple. I personally think that this convenience function is a good on

Re: [Matplotlib-users] How can I set the backgroundcolor of text with set_backgroundcolor ?

2007-01-03 Thread John Hunter
> "Mark" == Mark Bakker <[EMAIL PROTECTED]> writes: Mark> Thanks John. This works great. I think, however, that Mark> set_backgroundcolor would be useful. It should be easy to Mark> fix. If nobody speaks up, I will take a crack at it, Mark What do you have in mind, a simple con

Re: [Matplotlib-users] How can I set the backgroundcolor of text with set_backgroundcolor ?

2007-01-03 Thread Mark Bakker
Thanks John. This works great. I think, however, that set_backgroundcolor would be useful. It should be easy to fix. If nobody speaks up, I will take a crack at it, Mark On 1/3/07, John Hunter <[EMAIL PROTECTED]> wrote: > "Mark" == Mark Bakker <[EMAIL PROTECTED]> writes: Mark> Hello -

Re: [Matplotlib-users] How can I set the backgroundcolor of text with set_backgroundcolor ?

2007-01-03 Thread John Hunter
> "Mark" == Mark Bakker <[EMAIL PROTECTED]> writes: Mark> Hello - I want to set the backgroundcolor of text with the Mark> set_backgroundcolor function. Does that actually work? I Mark> saw a more complicated way to do it by defining a bbox, but Mark> this would be much easie

[Matplotlib-users] How can I set the backgroundcolor of text with set_backgroundcolor ?

2007-01-03 Thread Mark Bakker
Hello - I want to set the backgroundcolor of text with the set_backgroundcolor function. Does that actually work? I saw a more complicated way to do it by defining a bbox, but this would be much easier (if I got it to work). Here's my example that doesn't work. Thanks for any suggestions, Mark

Re: [Matplotlib-users] numpy and matplotlib usage

2007-01-03 Thread Christopher Barker
Fernando and Eric have offered very nice explanations, but I have one thing to add: Fernando Perez wrote: > hopefully the responsibilities will be: > > - ipython -> interactive work > - numpy/scipy -> numerics > - matploblib -> plotting I sure hope so too. > Following these ideas, in my person

Re: [Matplotlib-users] Resolution of SVG output

2007-01-03 Thread Christopher Barker
This should help you understand dpi, font-size, etc. http://www.scipy.org/Cookbook/Matplotlib/AdjustingImageSize However, I'm not sure how imshow() and SVG work together -- SVG is just that -- "Scalable", it doesn't have a set resolution, and I don't know what happens when you embed a raster gr

Re: [Matplotlib-users] Complex Plot

2007-01-03 Thread John Hunter
> "Benoit" == Benoit Donnet <[EMAIL PROTECTED]> writes: Benoit> Do you think it is possible to do such a plot in Benoit> matplotlib? Hey Benoit -- thanks for posting that image. It's good to get some reminders of the current limitations of mpl so we can focus on improving them. There

[Matplotlib-users] Complex Plot

2007-01-03 Thread Benoit Donnet
Hi all, First of all, best wishes for the brand new year! I hope that 2007 will be a great year for all of you. Attached to this mail, there is an image representing a 'complex plot'. this is complex because it contains a lot of information (plot + table below the plot). I think the pl

Re: [Matplotlib-users] title and colorbar size

2007-01-03 Thread Petr Danecek
Eric, John - thanks for your tips, it works! petr On Tue, 2007-01-02 at 21:01, Eric Firing wrote: > John Hunter wrote: > Examples of the shrink kwarg are examples/image_masked.py and > examples/contour_demo.py. > > As an alternative to using the shrink kwarg you can always specify axes > positi

Re: [Matplotlib-users] saving data to a file

2007-01-03 Thread Steve Schmerler
belinda thom wrote: > Hi, > > Is there a way for me to keep adding the next row of a 2d array to a > file via load? (matlab's save had a very useful -append option). > > I managed to get 2d laod/save working, e.g. > >import numpy as N >import pylab as P >import bthom.utils as U >