pzj5888 发表于 2008-4-13 11:51

Undefined function or variable "map" 出错求助

基于ct图像的三维重建   
三维数据集已做好   存为face.mat

重建程序如下 :
load face
figure('position',,'color','white')
Ds=smooth3 (D);
hiso=patch(isosurface(Ds,3),'Facecolor',,'EdgeColor','none');
hcap=patch(isocaps(D,3),'FaceColor','none','EdgeColor','none');
colormap(map)
view(125,30);
axis tight
daspect()
light('color',,'style','local','position',)
lightangle(145,30);
set(gcf,'Renderer','zbuffer')
lighting phong
material shiny
isonormals(Ds,hiso)
set(hcap,'AmbientStrength',0.6)
set(hiso,'SpecularColorReflectance',1,'SpecularExponent',200)
box off
axis off



错误提示:::
??? Undefined function or variable "map".

Error in ==> CT_3 at 6
colormap(map)


怎么修改?请指教。

[ 本帖最后由 eight 于 2008-4-14 21:08 编辑 ]

sigma665 发表于 2008-4-14 08:10

help colormap
你就知道了

eight 发表于 2008-4-14 21:08

原帖由 sigma665 于 2008-4-14 08:10 发表 http://www.chinavib.com/forum/images/common/back.gif
help colormap
你就知道了 同意,并看看置顶帖中的 常见错误 整理
页: [1]
查看完整版本: Undefined function or variable "map" 出错求助