plsdidev.3plplot - Man Page

Set parameters that define current device-space window


plsdidev(mar, aspect, jx, jy)


Set relative margin width, aspect ratio, and relative justification that define current device-space window.  If you want to just use the previous value for any of these, just pass in the magic value PL_NOTSET. It is unlikely that one should ever need to change the aspect ratio but it's in there for completeness. If plsdidev(3plplot) is not called the default values of mar, jx, and jy are all 0. aspect is set to a device-specific value.

Redacted form: plsdidev(mar, aspect, jx, jy)

This function is used in example 31.


mar (PLFLT(3plplot), input)

Relative margin width.

aspect (PLFLT(3plplot), input)

Aspect ratio.

jx (PLFLT(3plplot), input)

Relative justification in x. Value must lie in the range -0.5 to 0.5.

jy (PLFLT(3plplot), input)

Relative justification in y. Value must lie in the range -0.5 to 0.5.


Many developers (who are credited at have contributed to PLplot over its long history.

See Also

PLplot documentation at


April, 2023 PLplot API