Change the default parameter for margin

re #7594
Update the documentation and examples considering new margin

with the new default parameter, the examples and documentation need some
updates.

re #7594
Correct the images of extendedmargin to changemargin

re #7594
Merge branch 'feature/7594_correct_margin' into develop