请教,matlab function---image

A=[1,1
2,10];
image (A);
caxis ([0,10]);
colorbar;

请教,why caxis does not work here (it works if I use pcolor, or mesh, but not for image only)? if I would like to define the max and min of the colorbar here, what matlab function should I use?

Thanks.

所有跟帖: 

image的颜色是由colormap决定的,用RGB真彩就简单点。 -what124- 给 what124 发送悄悄话 (311 bytes) () 01/23/2008 postreply 08:11:38

请您先登陆,再发跟帖!