Learn English – How to make this sentence better

sentence-constructionterminologyword-usage

The following sentence will go into a technical article and I wanted to know how to write the following sentence in a better form:

Results are shown when the region localization constraint is enforced and when it is taken off.

I believe this does not read well. There are two "when"s and they spoil the sentence.

Best Answer

Results are shown when the region localization constraint is enforced and when it is taken off.

Without more context the meaning isn't clear; I'd rephrase it in one of the following ways, depending in part on intent.

Results are displayed first when the region localization constraint is enforced, and again when the constraint is taken off.
Results are shown for two cases: with and without region localization constraints enforced.

Related Topic