Hi Friedrich,

thanks a lot, that was exactly what I was looking for...


Alex

On Mon, Jun 28, 2010 at 23:00, Friedrich Romstedt <friedrichromstedt@gmail.com> wrote:
2010/6/28 Alexander Dietz <alexanderdietz1@googlemail.com>:
> I have a plot, to which I am drawing a colorbar. The standard colorbar
> ranges from the values -1 (blue) over 0 (green) to e.g. 1(red). So far so
> good.
> But now I want to change the colorbar that it shows only the colors between
> 0 and 1. What I mean is: the colorbar should start at value 0 (with green)
> and go to 1(red), and leave the original plot unchanged.

Ah, it wasn't that easy (for me).

Friedrich