Skip to content

Avoid assigning color to non-existent phase in MTEX plotting utility#432

Merged
MattRolchigo merged 2 commits into
llnl:masterfrom
MattRolchigo:fixup_two_phase_mtex
May 29, 2026
Merged

Avoid assigning color to non-existent phase in MTEX plotting utility#432
MattRolchigo merged 2 commits into
llnl:masterfrom
MattRolchigo:fixup_two_phase_mtex

Conversation

@MattRolchigo
Copy link
Copy Markdown
Collaborator

For the edge case where two phases are given on the command line but no pixels are assigned to the second phase, this change avoids a Matlab error where the color attribute is assigned to the second phase of a single-phase EBSD object

@MattRolchigo MattRolchigo requested a review from streeve May 26, 2026 20:45
Comment thread utilities/MTEX/PlotIPFColoredSection.m Outdated
@MattRolchigo MattRolchigo merged commit 56d3ae3 into llnl:master May 29, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants