From: fas on
Hi,
I have used 'colormap' with custom color with two colors. One extreme
is white and other extreme is red ( so the variation is between white
to red). I can do it by going into the property of the figure, but I
want to do it with code. Any idea
From: ImageAnalyst on
On Dec 31, 11:06 pm, fas <faisalmu...(a)gmail.com> wrote:
> Hi,
> I have used 'colormap' with custom color with two colors. One extreme
> is white and other extreme is red ( so the variation is between white
> to red). I can do it by going into the property of the figure, but I
> want to do it with code. Any idea

------------------------------------------------
There is a colormap() function, you know....
From: fas on
On Jan 1, 3:09 pm, ImageAnalyst <imageanal...(a)mailinator.com> wrote:
> On Dec 31, 11:06 pm, fas <faisalmu...(a)gmail.com> wrote:
>
> > Hi,
> > I have used 'colormap' with custom color with two colors. One extreme
> > is white and other extreme is red ( so the variation is between white
> > to red). I can do it by going into the property of the figure, but I
> > want to do it with code. Any idea
>
> ------------------------------------------------
> There is a colormap() function, you know....

Of course I know of colormap function and that is why I assume that it
can be manipulated through code. The only problem is that I do not
know how to solve my trivial problem through colormap(). Any help ??
From: Jan Simon on
Dear fas!

> > There is a colormap() function, you know....
>
> Of course I know of colormap function and that is why I assume that it
> can be manipulated through code. The only problem is that I do not
> know how to solve my trivial problem through colormap(). Any help ??

Did you take a look at:
help colormap
or
doc colormap
?

Good night, Jan
From: fas on
On Jan 2, 2:26 pm, "Jan Simon" <matlab.THIS_Y...(a)nMINUSsimon.de>
wrote:
> Dear fas!
>
> > > There is a colormap() function, you know....
>
> > Of course I know of colormap function and that is why I assume that it
> > can be manipulated through code. The only problem is that I do not
> > know how to solve my trivial problem through colormap(). Any help ??
>
> Did you take a look at:
>   help colormap
> or
>   doc colormap
> ?
>
> Good night, Jan

I am afraid that I posted this question after going through the help/
doc file. Since after several experiments, I failed to do so I am
asking for help if any ???