The current behavior and syntax of set multiplot ... margins ... spacing is a bit misleading and wrong.
The attached patch tries to fix several points:
- Change the ordering of the margin values to
left, right, top, bottom to match the order of the set margins command.
- Allow using
character or screen units.
- Use
character units by default (again, see set margins).
- Difference to
set margins is, that we can use a single screen keyword to give all four values in screen coordinates: set multiplot margins screen 0.1,0.9,0.9,0.1 ...
- Issue appropriate errors or warnings, if
margins and spacing aren't set together
- Updated the documentation to mention the dependence between
margins and spacing, and give more verbose documentation.