mvl_regular_layout

mvl_regular_layout(view, page_columns, page_rows, subpage_columns, subpage_rows[, plot_area])

Creates a list of plot_page() objets arranged in a regular grid (defined by page_columns and page_rows) using the specified view.

Parameters
  • view (Request) – the view that each plot grid cell will contain

  • page_columns (number) – number of columns in the grid

  • page_rows (number) – number of rows in the grid

  • subpage_columns (number) – number of columns within a plot_page()

  • subpage_rows (number) – number of rows within a plot_page()

  • plot_area (list) – the plot area the layout occupies in the parent plot_superpage() in [top, bottom, left, right] format. The full plot area is defined as [0, 100, 0, 100].

Return type

list

On top of the main layout grid, each plot_page() grid cell contains a set of (one or more) plot_subpage() objects, each arranged in a regular grid (defined by subpage_columns and subpage_rows). The output is suitable for input to plot_superpage(). When plot_area is specified it defines the plot area the layout will occupy in the output. It is given as a list of [TOP, BOTTOM, LEFT, RIGHT] where the values are specified in percentages (0-100).