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 title up a bit.
> 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?
>
I usually use the 'shrink' keyword to adjust the colorbar in situations
like this. You have to fiddle with it a bit to get the right value. In
your case, 'shrink=0.4' ought to do it.
-Jeff
--
Jeffrey S. Whitaker Phone : (303)497-6313
NOAA/OAR/CDC R/PSD1 FAX : (303)497-6449
325 Broadway Boulder, CO, USA 80305-3328
|