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 Danecek
test.png
Description: PNG image
from pylab import *
import os,sys,math
x = arange(0,2*pi,0.1)
y = arange(0,2*pi,0.1)
X, Y = meshgrid(x,y)
Z = sin(X)*sin(Y)
rc('figure',figsize=(3.346,3.346))
ax = subplot(111)
cs = ax.pcolor(X,Y,Z,shading='flat')
colorbar(cs)
title('Some title')
axis((0,2,0,1))
ax.set_aspect(1.0)
savefig('test.png',dpi=100)
------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-users
