Changeset 1133 for trunk/src/plot_field.m
- Timestamp:
- Apr 15, 2024, 8:19:57 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/plot_field.m
r1131 r1133 855 855 if siz==3 856 856 if np(3)==1 857 siz=2;% B Wimage857 siz=2;%grey scale image 858 858 elseif np(3)==3 859 859 siz=3;%color image … … 865 865 866 866 %set for grey scale setting 867 ColorMap='default'; 867 ColorMap='default';%default colormap 868 868 if isfield(PlotParam.Scalar,'CheckBW') && ~isempty(PlotParam.Scalar.CheckBW) 869 869 ColorMap=PlotParam.Scalar.CheckBW; %BW=0 color imposed, else gray scale imposed. … … 996 996 A=uint8(255*double(A)/double(MaxA)); 997 997 end 998 otherwise 999 colormap(ColorMap); 998 1000 end 999 1001
Note: See TracChangeset
for help on using the changeset viewer.