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 positions

[Matplotlib-users] title and colorbar size

2007-01-02 Thread Petr Danecek
Hello, i'd like to ask two questions: 1) Is it possible to control amount of space between title and graph? 2) When set_aspect() is used, the size of colorbar does not respect y-dimension of the graph. (See the attached example.) Is it possible to set the size of the colorbar directly? Petr

Re: [Matplotlib-users] title and colorbar size

2007-01-02 Thread Jeff Whitaker
Petr Danecek wrote: Hello, i'd like to ask two questions: 1) Is it possible to control amount of space between title and graph? Petr: The title command takes 'x' and 'y' keyword arguments that set the position of the title in axis coordinates. For example, try 'y=1.075' to move the

Re: [Matplotlib-users] title and colorbar size

2007-01-02 Thread John Hunter
Petr == Petr Danecek [EMAIL PROTECTED] writes: Petr Hello, i'd like to ask two questions: Petr 1) Is it possible to control amount of space between title Petr and graph? The y value of the title instance is in axes coordinates, so 1 is the top of the axes, and numbers greater than

Re: [Matplotlib-users] title and colorbar size

2007-01-02 Thread Eric Firing
John Hunter wrote: Petr == Petr Danecek [EMAIL PROTECTED] writes: [...] Petr 2) When set_aspect() is used, the size of colorbar does not Petr respect y-dimension of the graph. (See the attached Petr example.) Is it possible to set the size of the colorbar Petr directly?