Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion utilities/MTEX/PlotIPFColoredSection.m
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@
if (numphases == 2)
figure(fig_counter);
ebsd(pname1).color = [0 0 0];
ebsd(pname2).color = [1 1 1];
% only assign white color to second phase if ebsd object is multiphase
if (sum(ebsd.phase) ~= length(ebsd.phase))
Comment thread
streeve marked this conversation as resolved.
Outdated
ebsd(pname2).color = [1 1 1];
end
plot(ebsd);
OutputFileName = strcat(BaseFileName,'_SolidifiedPhases.png');
export_fig(OutputFileName,'-r150');
Expand Down
Loading