thierry
2009-09-04, 10:30
我在做gui的时候,同一个界面上有两个坐标轴,分别用来显示两幅图片,第一幅图片的显示我用了colormap的gray.第二幅图我用了colormap的jet。但当显示第二副图的时候,第一幅图片的colormap也被改成jet了,我希望能保持第一幅图不变。希望各位大侠不吝赐教。谢谢。部分代码如下:
axes(handles.axes_bscan);
imagesc(B1);
colormap(gray);
第二幅图的:
axes(handles.axes_flaw);
colormap(jet);
scatter(j,x_d3_peak,30,y_d3_peak,'filled');
axes(handles.axes_bscan);
imagesc(B1);
colormap(gray);
第二幅图的:
axes(handles.axes_flaw);
colormap(jet);
scatter(j,x_d3_peak,30,y_d3_peak,'filled');