From: mat001 on
I want to set colorbar fixed to

min = -0.001

max = 0.03

I used caxis([-0.001 0.03]); but it colorbar not working.
can some one explain me how to fixed min and maximum.

Regards
From: kinor on
"mat001 " <dres01(a)lycos.com> wrote in message <hpunvf$o67$1(a)fred.mathworks.com>...
> I want to set colorbar fixed to
>
> min = -0.001
>
> max = 0.03
>
> I used caxis([-0.001 0.03]); but it colorbar not working.
> can some one explain me how to fixed min and maximum.
>
> Regards

your request is a bit sketchy
this one runs just fine on my machine

imshow(magic(5),[])
colormap('jet')
colorbar
caxis([13 25])


hth
kinor
From: mat001 on
"kinor " <kinor.removethiswithdot(a)gmx.de> wrote in message <hpupv7$mmi$1(a)fred.mathworks.com>...
> "mat001 " <dres01(a)lycos.com> wrote in message <hpunvf$o67$1(a)fred.mathworks.com>...
> > I want to set colorbar fixed to
> >
> > min = -0.001
> >
> > max = 0.03
> >
> > I used caxis([-0.001 0.03]); but it colorbar not working.
> > can some one explain me how to fixed min and maximum.
> >
> > Regards
>
> your request is a bit sketchy
> this one runs just fine on my machine
>
> imshow(magic(5),[])
> colormap('jet')
> colorbar
> caxis([13 25])
>
>
> hth
> kinor

what you wrote is not running !
From: kinor on
"mat001 " <dres01(a)lycos.com> wrote in message <hpur4o$94q$1(a)fred.mathworks.com>...
> "kinor " <kinor.removethiswithdot(a)gmx.de> wrote in message <hpupv7$mmi$1(a)fred.mathworks.com>...
> > "mat001 " <dres01(a)lycos.com> wrote in message <hpunvf$o67$1(a)fred.mathworks.com>...
> > > I want to set colorbar fixed to
> > >
> > > min = -0.001
> > >
> > > max = 0.03
> > >
> > > I used caxis([-0.001 0.03]); but it colorbar not working.
> > > can some one explain me how to fixed min and maximum.
> > >
> > > Regards
> >
> > your request is a bit sketchy
> > this one runs just fine on my machine
> >
> > imshow(magic(5),[])
> > colormap('jet')
> > colorbar
> > caxis([13 25])
> >
> >
> > hth
> > kinor
>
> what you wrote is not running !

which version do you use?
From: mat001 on
"kinor " <kinor.removethiswithdot(a)gmx.de> wrote in message <hpusa8$ota$1(a)fred.mathworks.com>...
> "mat001 " <dres01(a)lycos.com> wrote in message <hpur4o$94q$1(a)fred.mathworks.com>...
> > "kinor " <kinor.removethiswithdot(a)gmx.de> wrote in message <hpupv7$mmi$1(a)fred.mathworks.com>...
> > > "mat001 " <dres01(a)lycos.com> wrote in message <hpunvf$o67$1(a)fred.mathworks.com>...
> > > > I want to set colorbar fixed to
> > > >
> > > > min = -0.001
> > > >
> > > > max = 0.03
> > > >
> > > > I used caxis([-0.001 0.03]); but it colorbar not working.
> > > > can some one explain me how to fixed min and maximum.
> > > >
> > > > Regards
> > >
> > > your request is a bit sketchy
> > > this one runs just fine on my machine
> > >
> > > imshow(magic(5),[])
> > > colormap('jet')
> > > colorbar
> > > caxis([13 25])
> > >
> > >
> > > hth
> > > kinor
> >
> > what you wrote is not running !
>
> which version do you use?

MATLAB 2009