>>>>> "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 1 are further above the top. So you can do t.set.y(1.1) where t is the matplotlib.text.Text instance returned from pylab 'title' or from matplotlib.axes.Axes.set_title (both do the same thing). Alternatively, you can set the title instance properties from the axes instance ax = fig.add_subplot(111) ax.title.set_y(1.1) 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? One of the examples shows how to do this if I recall correctly, but I don't remember which one. Eric Firing wrote it so I'm sure he'll be along shortly to point you to the light. Eric -- perhaps we should also add a snippet to the colorbar docstring since this is a common request. JDH ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users