From: TS on
Hi,

I have a graph and I am plotting the data as follows:

contourcmap([0:0.0001:1],'gray','colorbar','on')

The problem is that I want a colorbar, but with that much values, it is impossible to read any number. Is it possible to make the colorbar shows just the first and the last number??
Or even better, is there a way to plot the gray value graph more continuosly?

Thanks
From: Rune Allnor on
On 19 Feb, 14:59, "TS " <rozta...(a)yahoo.com.br> wrote:
> Hi,
>
> I have a graph and I am plotting the data as follows:
>
> contourcmap([0:0.0001:1],'gray','colorbar','on')
>
> The problem is that I want a colorbar, but with that much values, it is impossible to read any number. Is it possible to make the colorbar shows just the first and the last number??
> Or even better, is there a way to plot the gray value graph more continuosly?

You don't want that kind of thing. Most monitors can't
differentiate between more than 256 gray levels. And even
if the monitor can, you are right at the limit of what
nuances of the same color the human eye is able to separate.

Rune
From: TS on
Rune Allnor <allnor(a)tele.ntnu.no> wrote in message <3028b5fa-9e0e-48aa-a1af-c82dd5b92529(a)o30g2000yqb.googlegroups.com>...
> On 19 Feb, 14:59, "TS " <rozta...(a)yahoo.com.br> wrote:
> > Hi,
> >
> > I have a graph and I am plotting the data as follows:
> >
> > contourcmap([0:0.0001:1],'gray','colorbar','on')
> >
> > The problem is that I want a colorbar, but with that much values, it is impossible to read any number. Is it possible to make the colorbar shows just the first and the last number??
> > Or even better, is there a way to plot the gray value graph more continuosly?
>
> You don't want that kind of thing. Most monitors can't
> differentiate between more than 256 gray levels. And even
> if the monitor can, you are right at the limit of what
> nuances of the same color the human eye is able to separate.
>
> Rune

hum.. you are right, I don't need that much gray values. But anyway, is there a way in the contourcmap to make only the first and the last values appear??

tnks again