Calculate plot area based on canvas size and margins (matplotlib-compatible) Note: left/bottom are margins, right/top are edge positions
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | canvas_width | |||
integer, | intent(in) | :: | canvas_height | |||
type(plot_margins_t), | intent(in) | :: | margins | |||
type(plot_area_t), | intent(out) | :: | plot_area |