> 2009/8/20 Daniel Platz <mail.to.daniel.pl...@googlemail.com>:
> The setting of the new ticklabels works now. But the first label is
> attached to the second tick. I tried to adapt the clim range by using
> the vmin and vmax option of pcolor but it did not help.

Does this help?

http://matplotlib.sourceforge.net/examples/pylab_examples/colorbar_tick_labelling_demo.html

Cheers,
Scott

> Jouni K. Seppänen wrote:
>> Daniel Platz <mail.to.daniel.pl...@googlemail.com> writes:
>>
>>> t = cb4.ax.get_xticklabels()
>>>     for j in t:
>>>         j.set_text(r'$\pi$')
>>>         j.set_fontsize(10)
>>>         j.set_family('serif')
>>
>> Try cb4.ax.set_xticklabels([r'$-\pi$', ...]); draw()
>>
>>> Another problem is that I want to adjust the fontsize of the colorbar
>>> ticklabels on four subplots. This only works for the last two subplots
>>> with the syntax shown above. The same syntax has no effect on the first
>>> two subplots.
>>
>> You should be able to pass font properties to set_xticklabels. If that
>> doesn't work, please post a complete example.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to